discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 615bc7f7e5bf8cb37526a2f7edc924c12c40f77e
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 5821a59..b91b8b2 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1132,6 +1132,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