make e_client_has_xwindow() more wayland-only friendly
This commit is contained in:
parent
dea3ae21ad
commit
4cc66119c5
|
@ -5001,12 +5001,13 @@ e_client_has_xwindow(const E_Client *ec)
|
||||||
#ifdef HAVE_WAYLAND_ONLY
|
#ifdef HAVE_WAYLAND_ONLY
|
||||||
(void)ec;
|
(void)ec;
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
#endif
|
#else
|
||||||
#ifdef HAVE_WAYLAND
|
# ifdef HAVE_WAYLAND
|
||||||
if (!e_pixmap_is_x(ec->pixmap))
|
if (!e_pixmap_is_x(ec->pixmap))
|
||||||
return !!e_comp_wl_client_xwayland_pixmap(ec);
|
return !!e_comp_wl_client_xwayland_pixmap(ec);
|
||||||
#endif
|
# endif
|
||||||
return e_pixmap_is_x(ec->pixmap);
|
return e_pixmap_is_x(ec->pixmap);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue