]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
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)
commitf966194db2f485d13042f4e9d40ed20fd549e88a
treedb66b96961697d7ec645c4d04fa5f5aee3e9f070
parent1be55b971dadcf952aeed25d7c84efc2b71d4c85
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.
tools/actions/session_manager.py