discomfitor pushed a commit to branch enlightenment-0.20. http://git.enlightenment.org/core/enlightenment.git/commit/?id=f31e540140be054c0d53d16ee0f5dadc53644b4f
commit f31e540140be054c0d53d16ee0f5dadc53644b4f Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Mon Feb 8 14:03:31 2016 -0500 do not perform special case position adjustment for re_manage clients this case is solely for handling clients which are created with nonzero position, eg. an x11 window trying to display itself centered upon initial creation. re_manage indicates a window which is re-managed after a restart of enlightenment, so these windows clearly do not fall into that case fixes an issue where windows would move up+left by the size of their frame during restart ref 95e133282ef0ae8942ae513449b31d9f7149c519 --- src/bin/e_comp_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 19aa573..93b16d2 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -3189,7 +3189,8 @@ reshadow: do { _e_comp_smart_cb_frame_recalc(cw, cw->smart_obj, NULL); - if ((cw->x == -1) && (cw->y == -1) && cw->ec->new_client && (!cw->ec->placed)) + if ((cw->x == -1) && (cw->y == -1) && cw->ec->new_client && + (!cw->ec->placed) && (!cw->ec->re_manage)) { cw->ec->x = MAX(cw->ec->zone->x, cw->ec->client.x - cw->client_inset.l); cw->ec->y = MAX(cw->ec->zone->y, cw->ec->client.y - cw->client_inset.t); --