]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
session: warn about unset WAYLAND_DISPLAY instead of XDG_SESSION_TYPE
authorJami Kettunen <jami.kettunen@protonmail.com>
Tue, 13 Dec 2022 19:29:40 +0000 (21:29 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Tue, 13 Dec 2022 20:31:57 +0000 (21:31 +0100)
XDG_SESSION_TYPE isn't a reliable check for Wayland being present (e.g.
on Ubuntu Touch currently XDG_SESSION_TYPE is "mir" with WAYLAND_DISPLAY
set to "wayland-0" as it also provides Wayland windowing.

Also mention the behavior of defaulting WAYLAND_DISPLAY to "wayland-0"
in case it's not set.


No differences found