From: Dana Jansens Date: Sat, 4 Aug 2007 17:36:08 +0000 (-0400) Subject: move the submenus to the top of the client menu by popular demand. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=758ef2cafa559e7941d82364956e8afb33d1ad2f;p=chaz%2Fopenbox move the submenus to the top of the client menu by popular demand. --- diff --git a/openbox/client_menu.c b/openbox/client_menu.c index 43f98c74..203d93ac 100644 --- a/openbox/client_menu.c +++ b/openbox/client_menu.c @@ -377,6 +377,10 @@ void client_menu_startup() menu_set_place_func(menu, client_menu_place); menu_set_execute_func(menu, client_menu_execute); + menu_add_submenu(menu, CLIENT_SEND_TO, SEND_TO_MENU_NAME); + + menu_add_submenu(menu, CLIENT_LAYER, LAYER_MENU_NAME); + e = menu_add_normal(menu, CLIENT_RESTORE, _("R_estore"), NULL, TRUE); e->data.normal.mask = ob_rr_theme->max_toggled_mask; e->data.normal.mask_normal_color = ob_rr_theme->menu_color; @@ -411,12 +415,6 @@ void client_menu_startup() menu_add_separator(menu, -1, NULL); - menu_add_submenu(menu, CLIENT_SEND_TO, SEND_TO_MENU_NAME); - - menu_add_submenu(menu, CLIENT_LAYER, LAYER_MENU_NAME); - - menu_add_separator(menu, -1, NULL); - e = menu_add_normal(menu, CLIENT_CLOSE, _("_Close"), NULL, TRUE); e->data.normal.mask = ob_rr_theme->close_mask; e->data.normal.mask_normal_color = ob_rr_theme->menu_color;