From: Jami Kettunen Date: Tue, 13 Dec 2022 19:29:40 +0000 (+0200) Subject: session: warn about unset WAYLAND_DISPLAY instead of XDG_SESSION_TYPE X-Git-Tag: 1.3.4~3 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/f966194db2f485d13042f4e9d40ed20fd549e88a?ds=sidebyside;hp=f966194db2f485d13042f4e9d40ed20fd549e88a session: warn about unset WAYLAND_DISPLAY instead of XDG_SESSION_TYPE 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. ---