X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=9d8c5f3c9af80e0f9ee84a48d320b32f3877828d;hb=acfa2af3c2eacd099869cc5aebdcfa1241214e8b;hp=15a8e1281fb28db5ad1a64710efa427c4a0109d7;hpb=9f22554b6a1e7113b4ff86061327d9d0b0d87760;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 15a8e128..9d8c5f3c 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -131,7 +131,7 @@ void event_startup(gboolean reconfig) IceAddConnectionWatch(ice_watch, NULL); #endif - client_add_destructor(focus_delay_client_dest, NULL); + client_add_destroy_notify(focus_delay_client_dest, NULL); } void event_shutdown(gboolean reconfig) @@ -142,7 +142,7 @@ void event_shutdown(gboolean reconfig) IceRemoveConnectionWatch(ice_watch, NULL); #endif - client_remove_destructor(focus_delay_client_dest); + client_remove_destroy_notify(focus_delay_client_dest); } static Window event_get_window(XEvent *e)