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 7e5eb0a96d
commit 29823dbf1b
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,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: