From: Dana Jansens Date: Tue, 8 May 2007 22:57:27 +0000 (+0000) Subject: maximize in the client menu is enabled when it's not full-maxed X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=f017556fedeabaa30f8ceea24b4b8fcaa0249973;p=chaz%2Fopenbox maximize in the client menu is enabled when it's not full-maxed --- 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;