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>
Sun, 30 Sep 2012 18:50:30 +0000 (14:50 -0400)
openbox/menu.c

index 1294c4c..c97fb56 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;
 }