discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8fe70c3d2a605b0775f76f4857da6633348454fd

commit 8fe70c3d2a605b0775f76f4857da6633348454fd
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Mon Jan 20 15:12:23 2014 -0500

    fix client geometry when toggling borderless state
---
 src/bin/e_comp_object.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index bb8c899..8f683a0 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -2568,9 +2568,10 @@ e_comp_object_frame_theme_set(Evas_Object *obj, const 
char *name)
      {
         int w, h;
 
-        w = cw->w, h = cw->h;
-        e_comp_object_frame_wh_unadjust(obj, w, h, &cw->w, &cw->h);
-        if (cw->ec && ((cw->w != w) || (cw->h != h)))
+        w = cw->ec->w, h = cw->ec->h;
+        e_comp_object_frame_wh_unadjust(obj, w, h, &cw->ec->w, &cw->ec->h);
+        e_comp_object_frame_xy_unadjust(obj, cw->ec->x, cw->ec->y, &cw->ec->x, 
&cw->ec->y);
+        if ((cw->ec->w != w) || (cw->ec->h != h))
           {
              cw->ec->changes.size = 1;
              EC_CHANGED(cw->ec);

-- 


Reply via email to