From f017556fedeabaa30f8ceea24b4b8fcaa0249973 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 May 2007 22:57:27 +0000 Subject: [PATCH] maximize in the client menu is enabled when it's not full-maxed --- openbox/client_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/client_menu.c b/openbox/client_menu.c index 11e31965..3e7074d8 100644 --- a/openbox/client_menu.c +++ b/openbox/client_menu.c @@ -74,7 +74,7 @@ static gboolean client_update(ObMenuFrame *frame, gpointer data) e = menu_find_entry_id(menu, CLIENT_MAXIMIZE); e->data.normal.enabled = (frame->client->functions & OB_CLIENT_FUNC_MAXIMIZE) && - !frame->client->max_horz && !frame->client->max_vert; + (!frame->client->max_horz || !frame->client->max_vert); e = menu_find_entry_id(menu, CLIENT_SHADE); e->data.normal.enabled = frame->client->functions & OB_CLIENT_FUNC_SHADE; -- 2.45.2