discomfitor pushed a commit to branch master.

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

commit 2607ad2339fd526b2d3c4c2d9fcbf7ad34b43780
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Aug 4 13:15:36 2015 -0400

    only return xwayland pixmap from e_comp_x_client_pixmap_get() for xwl 
clients
---
 src/bin/e_comp_x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 8cb26c1..dbe8a58 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -5462,7 +5462,7 @@ E_API inline E_Pixmap *
 e_comp_x_client_pixmap_get(const E_Client *ec)
 {
 #ifdef HAVE_WAYLAND
-   if (!e_pixmap_is_x(ec->pixmap))
+   if ((!e_pixmap_is_x(ec->pixmap)) && e_client_has_xwindow(ec))
      return e_comp_wl_client_xwayland_pixmap(ec);
 #endif
    return ec->pixmap;

-- 


Reply via email to