From d77c8f62f2f908cfe1d09686a35dce1ccaf65aec Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 19 Aug 2006 20:34:27 +0000 Subject: a more proper fix for the client list menu trying to activate a closed client, no difference on end result --- openbox/menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/menu.c') 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; -- cgit v1.2.3