discomfitor pushed a commit to branch master.

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

commit c6a0abc763b88e00a113f8ff4bb45dcddc2615b6
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri May 26 16:34:13 2017 -0400

    force client pixmap refresh immediately during resize if nocomp is active
    
    in the case where this path was reached during x11 nocomp, the client's 
pixmap
    refresh would be deferred until the end of nocomp, even when the refresh 
would
    otherwise end the nocomp. instead, force the refresh immediately.
    
    fix T4887
---
 src/bin/e_comp_object.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index ff64040d7..791e6c9fd 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1234,8 +1234,13 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, 
int w, int h)
           {
              /* 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();
+             if (e_comp->nocomp)
+               e_pixmap_refresh(cw->ec->pixmap);
+             else
+               {
+                  e_comp_object_render_update_add(obj);
+                  e_comp_render_queue();
+               }
           }
         cw->ec->changes.size = 1;
         EC_CHANGED(cw->ec);

-- 


Reply via email to