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

Thiago Macieira thiago at kde.org
Fri Jul 31 01:28:38 PDT 2015


On Friday 31 July 2015 09:59:01 Olivier Fourdan wrote:
> Hi Jonas,
> 
> On 31 July 2015 at 09:52, Jonas Ådahl <jadahl at gmail.com> wrote:
> > Might be missing something obvious but shouldn't it be possible to check
> > whether
> > ​​
> > WAYLAND_DISPLAY environment variable is set?
> 
> Y
> ​eap, even simpler!

It might have been unset to cause a parent application to start inside X 
instead of using Wayland.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the wayland-devel mailing list