From ddc3c12d06e80f64eb8b8248920aa7bca2d52753 Mon Sep 17 00:00:00 2001 From: Sorokin Alexei Date: Fri, 13 May 2016 17:38:05 +0300 Subject: Coco, Nodoka: set notification window type fixes animation effects with compiz --- src/themes/coco/coco-theme.c | 1 + src/themes/nodoka/nodoka-theme.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c index 07a306f..5200348 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -505,6 +505,7 @@ create_notification(UrlClickedCb url_clicked) #endif gtk_window_set_title(GTK_WINDOW(win), "Notification"); + gtk_window_set_type_hint(GTK_WINDOW(win), GDK_WINDOW_TYPE_HINT_NOTIFICATION); gtk_widget_add_events(win, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); gtk_widget_realize(win); diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index 3be3293..a045d90 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -856,6 +856,7 @@ create_notification(UrlClickedCb url_clicked) #endif gtk_window_set_title(GTK_WINDOW(win), "Notification"); + gtk_window_set_type_hint(GTK_WINDOW(win), GDK_WINDOW_TYPE_HINT_NOTIFICATION); gtk_widget_add_events(win, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); gtk_widget_realize(win); gtk_widget_set_size_request(win, WIDTH, -1); -- cgit v1.2.1