discomfitor pushed a commit to branch master.

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

commit a68e3754793ceac476a078efc804b26846b7d7a8
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 | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index ad83836..4b20b64 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -648,10 +648,9 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
              ecore_x_window_prop_card32_set(e_client_util_win_get(ec), 
ECORE_X_ATOM_NET_WM_WINDOW_OPACITY, &opacity, 1);
              /* flag gets unset in property cb to avoid fetching opacity after 
we just set it */
           }
-        if (e_pixmap_is_x(ec->pixmap))
+        if (e_pixmap_is_x(ec->pixmap) && ec->post_resize)
           {
-             if (ec->post_resize)
-               e_pixmap_dirty(ec->pixmap);
+             e_pixmap_dirty(ec->pixmap);
              e_comp_object_render_update_del(ec->frame);
              if (!ec->internal)
                {

-- 


Reply via email to