]> Dogcows Code - chaz/openbox/commitdiff
fix segfault by ordering shutdown properly
authorDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 02:15:07 +0000 (02:15 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 02:15:07 +0000 (02:15 +0000)
openbox/openbox.c

index 7270379e47923e2be1ec5bcc271fcd43dcf36e36..ec5c7db24355a54e3ba3e5d1a0c5f8e363fef7a7 100644 (file)
@@ -301,8 +301,8 @@ gint main(gint argc, gchar **argv)
             moveresize_startup(reconfigure);
             keyboard_startup(reconfigure);
             mouse_startup(reconfigure);
-            menu_startup(reconfigure);
             menu_frame_startup(reconfigure);
+            menu_startup(reconfigure);
 
             if (!reconfigure) {
                 guint32 xid;
@@ -344,8 +344,8 @@ gint main(gint argc, gchar **argv)
                 client_unmanage_all();
             }
 
-            menu_frame_shutdown(reconfigure);
             menu_shutdown(reconfigure);
+            menu_frame_shutdown(reconfigure);
             mouse_shutdown(reconfigure);
             keyboard_shutdown(reconfigure);
             moveresize_shutdown(reconfigure);
This page took 0.024979 seconds and 4 git commands to generate.