discomfitor pushed a commit to branch enlightenment-0.19.

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

commit ba15a571b59c5360168b6873bbff0dae35fbae8b
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Aug 20 15:39:22 2015 -0400

    force render queue and check for redirection on clients with 0x0 pixmaps
    
    fixes an issue where resizing the current nocomp client could result in a
    broken compositor until a render queue was triggered
---
 src/bin/e_comp_object.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 6661428..9b1b4a7 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -894,11 +894,12 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, 
int w, int h)
         cw->ec->client.h = ih;
         if ((cw->ec->client.w < 0) || (cw->ec->client.h < 0)) CRI("WTF");
      }
-   if ((!cw->ec->input_only) && (!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph)))
+   if ((!cw->ec->input_only) && cw->redirected && 
(!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph)))
      {
         /* 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->comp);
         cw->ec->changes.size = 1;
         EC_CHANGED(cw->ec);
         return;

-- 


Reply via email to