unset the requested maximize state when receiving a client unmaximize request

not sure why it was always removing VERTICAL here but that's a bug
This commit is contained in:
Mike Blumenkrantz 2015-09-28 14:41:44 -04:00
parent 608b38b2e7
commit 3d8c3bb614
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ e_hints_window_state_update(E_Client *ec, int state, int action)
{
case ECORE_X_WINDOW_STATE_ACTION_REMOVE:
if (ec->maximized & max[state])
e_client_unmaximize(ec, E_MAXIMIZE_VERTICAL);
e_client_unmaximize(ec, max[state]);
break;
case ECORE_X_WINDOW_STATE_ACTION_ADD: