X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstartupnotify.c;h=ebe6e6b3fdb8481f68057768b083a6291c33c355;hb=275c44c386e937ed66cd2021b880a3d7d4de4933;hp=8866e40a1b1cfe66e4ca081b652acb96bd147b80;hpb=1d6e2c13573a6dcbcefd292b23130f3734cf2f1b;p=chaz%2Fopenbox diff --git a/openbox/startupnotify.c b/openbox/startupnotify.c index 8866e40a..ebe6e6b3 100644 --- a/openbox/startupnotify.c +++ b/openbox/startupnotify.c @@ -50,6 +50,8 @@ void sn_shutdown(gboolean reconfig) if (reconfig) return; + ob_main_loop_x_remove(ob_main_loop, sn_handler); + for (it = sn_waits; it; it = g_slist_next(it)) wait_data_free(it->data); g_slist_free(sn_waits); @@ -141,7 +143,6 @@ static void sn_event_func(SnMonitorEvent *ev, gpointer data) switch (sn_monitor_event_get_type(ev)) { case SN_MONITOR_EVENT_INITIATED: - g_message("starting"); d = wait_data_new(seq); sn_waits = g_slist_prepend(sn_waits, d); /* 30 second timeout for apps to start */