]> Dogcows Code - chaz/openbox/commitdiff
maximize in the client menu is enabled when it's not full-maxed
authorDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 22:57:27 +0000 (22:57 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 22:57:27 +0000 (22:57 +0000)
openbox/client_menu.c

index 11e31965d68f5ce5a7e792af193c5eb71b86e029..3e7074d8a9f57499a2fe7e078b95a05053f6bb4b 100644 (file)
@@ -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;
This page took 0.034977 seconds and 4 git commands to generate.