]> Dogcows Code - chaz/openbox/commitdiff
remove the startup notification code from event.c, it all lives in its own file now
authorDana Jansens <danakj@orodu.net>
Wed, 3 Sep 2003 20:36:25 +0000 (20:36 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 3 Sep 2003 20:36:25 +0000 (20:36 +0000)
openbox/event.c

index 0510dab29e9f7d2ad912c3294966071bec2caaf3..e3efb289bd72e24d1cc419d7402f207afefb4ac1 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
@@ -96,16 +92,6 @@ static void ice_watch(IceConn conn, IcePointer data, Bool opening,
 }
 #endif
 
-#ifdef USE_LIBSN
-static void sn_handler(const XEvent *e, gpointer display)
-{
-    XEvent ec;
-    ec = *e;
-    sn_display_process_event(display, &ec);
-}
-#endif
-
-
 void event_startup(gboolean reconfig)
 {
     if (reconfig) return;
@@ -141,10 +127,6 @@ void event_startup(gboolean reconfig)
     IceAddConnectionWatch(ice_watch, NULL);
 #endif
 
-#ifdef USE_LIBSN
-    ob_main_loop_x_add(ob_main_loop, sn_handler, ob_sn_display, NULL);
-#endif
-
     client_add_destructor(focus_delay_client_dest);
 }
 
This page took 0.024876 seconds and 4 git commands to generate.