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:
parent
083e1a34b4
commit
92d7f40486
|
@ -4126,6 +4126,7 @@ e_client_maximize(E_Client *ec, E_Maximize max)
|
||||||
ec->maximized &= ~E_MAXIMIZE_TYPE;
|
ec->maximized &= ~E_MAXIMIZE_TYPE;
|
||||||
ec->maximized |= max;
|
ec->maximized |= max;
|
||||||
EC_CHANGED(ec);
|
EC_CHANGED(ec);
|
||||||
|
if (ec->re_manage) ec->changes.pos = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((max & E_MAXIMIZE_TYPE) == E_MAXIMIZE_FULLSCREEN)
|
if ((max & E_MAXIMIZE_TYPE) == E_MAXIMIZE_FULLSCREEN)
|
||||||
|
|
Loading…
Reference in New Issue