discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 9af96a4c23dedb74e191fc1caaa325250f424d24
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Jan 21 15:35:05 2016 -0500

    determine new_client state for xwayland clients using xwayland pixmap
    
    in the case where the xwayland pixmap has previously been marked as usable,
    the corresponding client is guaranteed to have gone through the new_client
    eval. allowing a second eval will result in wrong geometries being set for
    the window in some cases
---
 src/bin/e_comp_wl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index c48c6d3..9e9c1ad 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1024,6 +1024,10 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
    int x = 0, y = 0, w, h;
 
    first = !e_pixmap_usable_get(ec->pixmap);
+#ifndef HAVE_WAYLAND_ONLY
+   if (first && e_client_has_xwindow(ec))
+     first = !e_pixmap_usable_get(e_comp_x_client_pixmap_get(ec));
+#endif
    ignored = ec->ignored;
 
    if (state->new_attach)

-- 


Reply via email to