hide the menus before shutting them down on reconfigure
authorDana Jansens <danakj@orodu.net>
Mon, 24 Jan 2011 22:00:41 +0000 (17:00 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 3 Aug 2011 21:44:55 +0000 (17:44 -0400)
openbox/menu.c

index daea0b65e12d025f3261ae45de0c96edb9752b0f..0f1e6704738902e3f27de1c95bdfbab7cd690f80 100644 (file)
@@ -115,10 +115,11 @@ void menu_shutdown(gboolean reconfig)
     obt_xml_instance_unref(menu_parse_inst);
     menu_parse_inst = NULL;
 
-    client_list_menu_shutdown(reconfig);
+    menu_frame_hide_all();
+
     client_list_combined_menu_shutdown(reconfig);
+    client_list_menu_shutdown(reconfig);
 
-    menu_frame_hide_all();
     g_hash_table_destroy(menu_hash);
     menu_hash = NULL;
 }