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 6c97716899
commit 7b31d05ff2
1 changed files with 1 additions and 0 deletions

View File

@ -4127,6 +4127,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)