discomfitor pushed a commit to branch master.

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

commit 9613b1faff951c9087e87cca56292a00c02f8d1c
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Aug 12 13:25:30 2015 -0400

    do not add render update on resize fail due to unusable pixmap in wl
    
    this will not have any effect
---
 src/bin/e_comp_object.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 20c319a..b812cbc 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -992,6 +992,7 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int 
w, int h)
      }
    if ((!cw->ec->input_only) && (!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph)))
      {
+        if (e_comp->comp_type != E_PIXMAP_TYPE_X) 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