On Fri, Jul 31, 2015 at 09:48:53AM +0200, Olivier Fourdan wrote: > 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?
Might be missing something obvious but shouldn't it be possible to check whether WAYLAND_DISPLAY environment variable is set? Jonas > > Thanks, > Olivier > _______________________________________________ > wayland-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
