summaryrefslogtreecommitdiff
path: root/openbox/menu.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-08-19 20:34:27 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-08-19 20:34:27 +0000
commitd77c8f62f2f908cfe1d09686a35dce1ccaf65aec (patch)
tree9156605b933cb60ebcad63959809134796784232 /openbox/menu.c
parent71ba050bfa22a45b9ce7f6cdf72979eb411d67b4 (diff)
a more proper fix for the client list menu trying to activate a closed client, no difference on end result
Diffstat (limited to 'openbox/menu.c')
-rw-r--r--openbox/menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/menu.c b/openbox/menu.c
index c1d1138b..69a5fe5a 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -69,7 +69,7 @@ void menu_startup(gboolean reconfig)
menu_hash = g_hash_table_new_full(g_str_hash, g_str_equal, NULL,
(GDestroyNotify)menu_destroy_hash_value);
- client_list_menu_startup();
+ client_list_menu_startup(reconfig);
client_menu_startup();
menu_parse_inst = parse_startup();
@@ -110,6 +110,8 @@ void menu_shutdown(gboolean reconfig)
parse_shutdown(menu_parse_inst);
menu_parse_inst = NULL;
+ client_list_menu_shutdown(reconfig);
+
menu_frame_hide_all();
g_hash_table_destroy(menu_hash);
menu_hash = NULL;