From: Dana Jansens Date: Wed, 3 Sep 2003 20:36:25 +0000 (+0000) Subject: remove the startup notification code from event.c, it all lives in its own file now X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=889c5aab4f7f06ca396e5922ece436e48b88b098;p=chaz%2Fopenbox remove the startup notification code from event.c, it all lives in its own file now --- diff --git a/openbox/event.c b/openbox/event.c index 0510dab2..e3efb289 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -24,10 +24,6 @@ #include #include -#ifdef USE_LIBSN -# include -#endif - #ifdef HAVE_SYS_SELECT_H # include #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); }