aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-09 13:42:19 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-12 12:26:21 -0500
commit7b31d05ff2ace72b25a2f7a7169321e763b512d5 (patch)
tree1635dae72a2a3a50ae7f2bacbffee6b27cc2b667
parentuse e_zone_desk_useful_geometry_get() for all client maximize geometry fetching (diff)
downloadenlightenment-7b31d05ff2ace72b25a2f7a7169321e763b512d5.tar.gz
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 https://phab.enlightenment.org/T6414
-rw-r--r--src/bin/e_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 591a8b675..675ba5688 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -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)