all repos — openbox @ 758ef2cafa559e7941d82364956e8afb33d1ad2f

openbox fork - make it a bit more like ryudo

move the submenus to the top of the client menu by popular demand.
Dana Jansens danakj@orodu.net
commit

758ef2cafa559e7941d82364956e8afb33d1ad2f

parent

0cfd92ab9e56d8f790c92b83436e981fa46efe20

1 files changed, 4 insertions(+), 6 deletions(-)

jump to
M openbox/client_menu.copenbox/client_menu.c

@@ -377,6 +377,10 @@ menu_set_update_func(menu, client_menu_update);

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;

@@ -408,12 +412,6 @@

menu_add_normal(menu, CLIENT_SHADE, _("_Roll up/down"), NULL, TRUE); menu_add_normal(menu, CLIENT_DECORATE, _("Un/_Decorate"), NULL, TRUE); - - 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);