make maximize work when its not-fullmax

This commit is contained in:
Dana Jansens 2007-05-08 22:59:16 +00:00
parent f017556fed
commit e0409cd794

View file

@ -288,7 +288,7 @@ void client_menu_startup()
menu_set_place_func(menu, client_menu_place);
acts = g_slist_prepend(NULL, action_from_string
("ToggleMaximizeFull",
("UnmaximizeFull",
OB_USER_ACTION_MENU_SELECTION));
e = menu_add_normal(menu, CLIENT_RESTORE, _("R&estore"), acts, TRUE);
e->data.normal.mask = ob_rr_theme->max_toggled_mask;
@ -317,7 +317,7 @@ void client_menu_startup()
ob_rr_theme->menu_disabled_selected_color;
acts = g_slist_prepend(NULL, action_from_string
("ToggleMaximizeFull",
("MaximizeFull",
OB_USER_ACTION_MENU_SELECTION));
e = menu_add_normal(menu, CLIENT_MAXIMIZE, _("Ma&ximize"), acts, TRUE);
e->data.normal.mask = ob_rr_theme->max_mask;