unset E_Client->changes.pos when attempting to maximize a new re_manage client

a remaining client from before a restart which is maximized does not need its
position adjusted; this will cause it to go offscreen when unmaximized

ref T6414
This commit is contained in:
Mike Blumenkrantz 2018-01-09 13:42:19 -05:00
parent 083e1a34b4
commit 92d7f40486
1 changed files with 1 additions and 0 deletions

View File

@ -4126,6 +4126,7 @@ e_client_maximize(E_Client *ec, E_Maximize max)
ec->maximized &= ~E_MAXIMIZE_TYPE;
ec->maximized |= max;
EC_CHANGED(ec);
if (ec->re_manage) ec->changes.pos = 0;
return;
}
if ((max & E_MAXIMIZE_TYPE) == E_MAXIMIZE_FULLSCREEN)