X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstartupnotify.c;h=9b81d988f3a782a97f705e998ee0625a263476a4;hb=9decfe0d76d661ded94eced1f03c2ebfa2941bcc;hp=6d1ba5ad623298166e00ce8f27bb294cdb148e9c;hpb=2cd1644e1040684d5f646541f65a36b01b011db2;p=chaz%2Fopenbox diff --git a/openbox/startupnotify.c b/openbox/startupnotify.c index 6d1ba5ad..9b81d988 100644 --- a/openbox/startupnotify.c +++ b/openbox/startupnotify.c @@ -5,7 +5,8 @@ void sn_startup(gboolean reconfig) {} void sn_shutdown(gboolean reconfig) {} gboolean sn_app_starting() { return FALSE; } -void sn_app_started(gchar *wmclass, guint *desktop) {} +void sn_app_started(gchar *wmclass) {} +gboolean sn_get_desktop(gchar *id, guint *desktop) { return FALSE; } #else @@ -49,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);