From 44cec726b11b89f1e340208bb83e19bb7af4e8fd Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Thu, 10 May 2012 12:11:45 +0000 Subject: [PATCH] Set notification window as notification type. --- ede-notify-daemon/NotifyWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ede-notify-daemon/NotifyWindow.cpp b/ede-notify-daemon/NotifyWindow.cpp index 6ec1b30..bf508a7 100644 --- a/ede-notify-daemon/NotifyWindow.cpp +++ b/ede-notify-daemon/NotifyWindow.cpp @@ -1,8 +1,10 @@ #include +#include #include #include #include #include +#include #include "NotifyWindow.h" /* default sizes for window */ @@ -11,7 +13,9 @@ #define DEFAULT_EXPIRE 2000 EDELIB_NS_USING(IconLoader) +EDELIB_NS_USING(netwm_window_set_type) EDELIB_NS_USING(ICON_SIZE_MEDIUM) +EDELIB_NS_USING(NETWM_WINDOW_TYPE_NOTIFICATION) extern int FL_NORMAL_SIZE; @@ -70,6 +74,7 @@ void NotifyWindow::show(void) { } Fl_Window::show(); + netwm_window_set_type(fl_xid(this), NETWM_WINDOW_TYPE_NOTIFICATION); } void NotifyWindow::resize(int X, int Y, int W, int H) {