How can an X11 tell it's running in XWayland?

Olivier Fourdan fourdan at gmail.com
Fri Jul 31 00:48:53 PDT 2015


Hi

Some apps should be run in a plain X11 session but not in XWayland (e.g. an
X11 screensaver makes no sense in Wayland/XWayland).

There is one atom WL_SURFACE_ID that should be created only on/by XWayland
(for obvious reasons), is that reliable enough to determine we're running
on XWayland?

Thanks,
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150731/5e2e8489/attachment.html>


More information about the wayland-devel mailing list