forked from enlightenment/enlightenment
only return xwayland pixmap from e_comp_x_client_pixmap_get() for xwl clients
This commit is contained in:
parent
98027f2584
commit
2607ad2339
|
@ -5462,7 +5462,7 @@ E_API inline E_Pixmap *
|
||||||
e_comp_x_client_pixmap_get(const E_Client *ec)
|
e_comp_x_client_pixmap_get(const E_Client *ec)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_WAYLAND
|
#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);
|
return e_comp_wl_client_xwayland_pixmap(ec);
|
||||||
#endif
|
#endif
|
||||||
return ec->pixmap;
|
return ec->pixmap;
|
||||||
|
|
Loading…
Reference in New Issue