discomfitor pushed a commit to branch enlightenment-0.21.

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

commit 12fc4286a68af64c89f2b78115d569ec5d0694e9
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Sep 1 13:40:12 2017 -0400

    avoid adding render updates on client resize while shading the client
    
    this results in a blank render
    
    fix T5929
---
 src/bin/e_comp_object.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index dc6f3f42d..c563d71e7 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1238,13 +1238,13 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, 
int w, int h)
    if ((!cw->ec->shading) && (!cw->ec->shaded))
      {
         /* client geom never changes when shading since the client is never 
altered */
-        //INF("%p: CUR(%dx%d) || REQ(%dx%d)", cw->ec, cw->ec->client.w, 
cw->ec->client.h, iw, ih);
+        INF("%p: CUR(%dx%d) || REQ(%dx%d)", cw->ec, cw->ec->client.w, 
cw->ec->client.h, iw, ih);
         cw->ec->client.w = iw;
         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_dirty_get(cw->ec->pixmap) ||
-       (!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph))))
+   if ((!cw->ec->input_only) && cw->redirected && (!cw->ec->shading) && 
(!cw->ec->shaded) &&
+       (e_pixmap_dirty_get(cw->ec->pixmap) || 
(!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph))))
      {
         if (e_comp->comp_type != E_PIXMAP_TYPE_X) return;
         if (e_object_is_del(E_OBJECT(cw->ec))) return;

-- 


Reply via email to