]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
destroy the focus_backup
[chaz/openbox] / openbox / openbox.c
index 9f90a9e01e729e7a2a1d2e149c75ac2819ae5946..4556fc8fcc677d94e40fb2274a632ad774750920 100644 (file)
@@ -150,9 +150,8 @@ int main(int argc, char **argv)
        client_manage_all();
 
        ob_state = State_Running;
-       while (!ob_shutdown) {
+       while (!ob_shutdown)
            event_loop();
-       }
        ob_state = State_Exiting;
 
        client_unmanage_all();
@@ -169,10 +168,10 @@ int main(int argc, char **argv)
        timer_shutdown();
     }
 
-    XCloseDisplay(ob_display);
-
     dispatch_shutdown();
 
+    XCloseDisplay(ob_display);
+
     /* XXX if (ob_restart) */
      
     return 0;
This page took 0.021633 seconds and 4 git commands to generate.