discomfitor pushed a commit to branch enlightenment-0.19.

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

commit c22f78dbb8acd8504c0672bef415a1ff00deb0fb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Sep 29 12:29:41 2015 -0400

    reject client resize attempts for clients with dirty pixmaps
    
    these clients will resize/render correctly only after the next
    render loop, so defer until then to avoid #RenderFail
    
    fix T2754
---
 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 b88dfb4..a01a319 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -927,7 +927,8 @@ _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) && cw->redirected && 
(!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph)))
+   if ((!cw->ec->input_only) && cw->redirected && 
(e_pixmap_dirty_get(cw->ec->pixmap) ||
+       (!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);

-- 


Reply via email to