discomfitor pushed a commit to branch enlightenment-0.19.

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

commit 16f20ff336236a8ba1576efa7030f4b8d107aeee
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Oct 5 17:28:26 2015 -0400

    only use fast-path pixmap size updating after a resize for x11 clients
    
    updating these values after other operations will result in the pixmap size
    being set inaccurately, leading to rendering inconsistencies
---
 src/bin/e_comp_x.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index a076216..6787974 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -626,12 +626,14 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
              /* flag gets unset in property cb to avoid fetching opacity after 
we just set it */
           }
         if (ec->post_resize)
-          e_pixmap_dirty(ec->pixmap);
-        e_comp_object_render_update_del(ec->frame);
-        if (!ec->internal)
           {
-             ec->comp_data->pw = ec->client.w;
-             ec->comp_data->ph = ec->client.h;
+             e_pixmap_dirty(ec->pixmap);
+             e_comp_object_render_update_del(ec->frame);
+             if (!ec->internal)
+               {
+                  ec->comp_data->pw = ec->client.w;
+                  ec->comp_data->ph = ec->client.h;
+               }
           }
         ec->post_move = 0;
         ec->post_resize = 0;

-- 


Reply via email to