]> Dogcows Code - chaz/openbox/commitdiff
when i said it handled both cases, i was mistaken, so use a callback for each case.
authorDana Jansens <danakj@orodu.net>
Sun, 13 May 2007 07:40:02 +0000 (07:40 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 13 May 2007 07:40:02 +0000 (07:40 +0000)
openbox/focus.c

index 39b12d00246c426032d6dc2103f4b74045e363b1..1d9ddcaa6b8283247b626fa1fbd6c793b7d6e07d 100644 (file)
@@ -87,6 +87,7 @@ void focus_startup(gboolean reconfig)
         XSetWindowAttributes attr;
 
         client_add_destructor(focus_cycle_destructor, NULL);
+        client_add_destructor(focus_tried_hide_notify, NULL);
         client_add_hide_notify(focus_tried_hide_notify, NULL);
 
         /* start with nothing focused */
@@ -141,6 +142,7 @@ void focus_shutdown(gboolean reconfig)
 
     if (!reconfig) {
         client_remove_destructor(focus_cycle_destructor);
+        client_remove_destructor(focus_tried_hide_notify);
         client_remove_hide_notify(focus_tried_hide_notify);
 
         /* reset focus to root */
This page took 0.024641 seconds and 4 git commands to generate.