From 2607ad2339fd526b2d3c4c2d9fcbf7ad34b43780 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 4 Aug 2015 13:15:36 -0400 Subject: [PATCH] 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 8cb26c1c5..dbe8a58af 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;