diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-03-31 14:03:02 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-03-31 14:03:02 -0400 |
commit | a352a6d197560b3ee46cf64ebd307561d01f9db1 (patch) | |
tree | 3b69b4b17a55b55bdcfeebc317a9c09267b4bb6c | |
parent | a9415f696b94bb57de34c7a42fc098eabdd0e643 (diff) | |
download | enlightenment-a352a6d197560b3ee46cf64ebd307561d01f9db1.tar.gz |
only attempt to rescue offscreen clients if they are completely offscreen
-rw-r--r-- | src/bin/e_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 51f3e221f8..1d2436697f 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -1907,7 +1907,7 @@ _e_client_eval(E_Client *ec) ec->placed = 1; ec->pre_cb.x = ec->x; ec->pre_cb.y = ec->y; } - else if (!E_INSIDE(ec->x, ec->y, zx, zy, zw, zh)) + else if (!E_INTERSECTS(ec->x, ec->y, ec->w, ec->h, zx, zy, zw, zh)) { /* If an ec is placed out of bound, fix it! */ ec->x = zx + ((zw - ec->w) / 2); |