]> Dogcows Code - chaz/openbox/commitdiff
move the submenus to the top of the client menu by popular demand.
authorDana Jansens <danakj@orodu.net>
Sat, 4 Aug 2007 17:36:08 +0000 (13:36 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 4 Aug 2007 17:36:08 +0000 (13:36 -0400)
openbox/client_menu.c

index 43f98c74cdf75758b2aa080df583b07d957c4df6..203d93aca1a381b161385feda9edc82e4d0e2b31 100644 (file)
@@ -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;
This page took 0.022365 seconds and 4 git commands to generate.