discomfitor pushed a commit to branch master.

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

commit c212bb4e21bd8c1334e02b3550c096ae6283f124
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Apr 21 18:01:42 2016 -0400

    don't defer resizes+queue render updates for shapeless or pending shaped 
clients
    
    this basically guarantees a misrender
---
 src/bin/e_comp_object.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index c856415..981e574 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1167,6 +1167,10 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, 
int w, int h)
      {
         if (e_comp->comp_type != E_PIXMAP_TYPE_X) return;
         if (e_object_is_del(E_OBJECT(cw->ec))) return;
+        /* 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);

-- 


Reply via email to