maximize in the client menu is enabled when it's not full-maxed
This commit is contained in:
parent
709ebbb6a2
commit
f017556fed
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue