discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=783c35622d5bc168d118353bb4cbd3afcc534cb3

commit 783c35622d5bc168d118353bb4cbd3afcc534cb3
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 31 14:03:02 2016 -0400

    only attempt to rescue offscreen clients if they are completely offscreen
---
 src/bin/e_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 998a111..6f45f3e 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -1882,7 +1882,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);

-- 


Reply via email to