From e0409cd7940c136897ddf31e92fe5fdde4bee003 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 May 2007 22:59:16 +0000 Subject: [PATCH] make maximize work when its not-fullmax --- openbox/client_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/client_menu.c b/openbox/client_menu.c index 3e7074d8..f6eb9416 100644 --- a/openbox/client_menu.c +++ b/openbox/client_menu.c @@ -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; -- 2.45.2