discomfitor pushed a commit to branch master.

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

commit fabf2de023ec4ca10c9dc4c3c438e24243369062
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 fc9446e..bb49c07 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