discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=959366076c965854de7aab38d6234a9addc27d70

commit 959366076c965854de7aab38d6234a9addc27d70
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 17 13:34:24 2016 -0400

    always update saved coords for maximized/fullscreen clients on csd geom 
update
    
    this was causing clients to position themselves wrongly in some cases after
    removing the related states
---
 src/bin/e_comp_object.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index d252e6f..dd88bf2 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3041,12 +3041,9 @@ e_comp_object_frame_geometry_set(Evas_Object *obj, int 
l, int r, int t, int b)
      }
    else if (cw->ec->maximized || cw->ec->fullscreen)
      {
-        if (e_client_has_xwindow(cw->ec))
-          {
-             cw->ec->saved.x += l - cw->client_inset.l;
-             cw->ec->saved.y += t - cw->client_inset.t;
-          }
-        else
+        cw->ec->saved.x += l - cw->client_inset.l;
+        cw->ec->saved.y += t - cw->client_inset.t;
+        if (!e_client_has_xwindow(cw->ec))
           {
              cw->ec->saved.w -= ((l + r) - (cw->client_inset.l + 
cw->client_inset.r));
              cw->ec->saved.h -= ((t + b) - (cw->client_inset.t + 
cw->client_inset.b));

-- 


Reply via email to