]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
add (optional) support for showing a busy cursor via startup notification
[chaz/openbox] / openbox / event.c
index 900567c0f255aecbd5417531599eafa9466b0615..a2604bcfb58c10e5b6164cd0bcd9d60ae7f9b329 100644 (file)
 #include <X11/Xatom.h>
 #include <glib.h>
 
+#ifdef USE_LIBSN
+#  include <libsn/sn.h>
+#endif
+
 #ifdef HAVE_SYS_SELECT_H
 #  include <sys/select.h>
 #endif
@@ -129,6 +133,10 @@ void event_loop()
        }
        XNextEvent(ob_display, &e);
 
+#ifdef USE_LIBSN
+        sn_display_process_event(ob_sn_display, &e);
+#endif
+
        event_process(&e);
         had_event = TRUE;
     }
This page took 0.0209 seconds and 4 git commands to generate.