discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=42b84fb7c8bdc6801677b4bdd9400da552999972

commit 42b84fb7c8bdc6801677b4bdd9400da552999972
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 22 12:13:11 2016 -0400

    ensure resize is still deferred for changes.shape clients during failed 
resize
    
    ref c212bb4e21bd8c1334e02b3550c096ae6283f124
---
 src/bin/e_comp_object.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 5934a2a..037e49d 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1135,11 +1135,13 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, 
int w, int h)
         /* shapeless clients smh */
         if (cw->ec->shaped && (!cw->ec->shape_rects)) return;
         /* pending shape change gtfo */
-        if (cw->ec->changes.shape) return;
-        /* client can't be resized if its pixmap isn't usable, try again */
-        e_pixmap_dirty(cw->ec->pixmap);
-        e_comp_object_render_update_add(obj);
-        e_comp_render_queue();
+        if (!cw->ec->changes.shape)
+          {
+             /* client can't be resized if its pixmap isn't usable, try again 
*/
+             e_pixmap_dirty(cw->ec->pixmap);
+             e_comp_object_render_update_add(obj);
+             e_comp_render_queue();
+          }
         cw->ec->changes.size = 1;
         EC_CHANGED(cw->ec);
         return;

-- 


Reply via email to