all repos — openbox @ 889c5aab4f7f06ca396e5922ece436e48b88b098

openbox fork - make it a bit more like ryudo

remove the startup notification code from event.c, it all lives in its own file now
Dana Jansens danakj@orodu.net
commit

889c5aab4f7f06ca396e5922ece436e48b88b098

parent

2cd1644e1040684d5f646541f65a36b01b011db2

1 files changed, 0 insertions(+), 18 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -24,10 +24,6 @@ #include <X11/keysym.h>

#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 @@ }

} #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;

@@ -139,10 +125,6 @@ ob_main_loop_x_add(ob_main_loop, event_process, NULL, NULL);

#ifdef USE_SM 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);