summaryrefslogtreecommitdiff
path: root/libwnck/wnck-handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'libwnck/wnck-handle.c')
-rw-r--r--libwnck/wnck-handle.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libwnck/wnck-handle.c b/libwnck/wnck-handle.c
index 157aabe..b948a34 100644
--- a/libwnck/wnck-handle.c
+++ b/libwnck/wnck-handle.c
@@ -28,6 +28,10 @@
#include "wnck-enum-types.h"
#include "xutils.h"
+#ifdef HAVE_STARTUP_NOTIFICATION
+#include <libsn/sn.h>
+#endif
+
#define WNCK_TYPE_HANDLE (wnck_handle_get_type ())
G_DECLARE_FINAL_TYPE (WnckHandle, wnck_handle, WNCK, HANDLE, GObject)
@@ -122,6 +126,7 @@ filter_func (GdkXEvent *gdkxevent,
case ClientMessage:
#ifdef HAVE_STARTUP_NOTIFICATION
+#if 0
/* We're cheating as officially libsn requires
* us to send all events through sn_display_process_event
*/
@@ -140,6 +145,7 @@ filter_func (GdkXEvent *gdkxevent,
++i;
}
+#endif
#endif /* HAVE_STARTUP_NOTIFICATION */
break;