]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
session: Add strict WAYLAND_DISPLAY validity checks
authorJami Kettunen <jami.kettunen@protonmail.com>
Sun, 15 Jan 2023 04:17:23 +0000 (06:17 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Sun, 15 Jan 2023 15:59:49 +0000 (16:59 +0100)
Enough with not checking we actually have a Wayland compositor around at
all: start requiring the WAYLAND_DISPLAY socket actually exists as an
absolute path or relatively under XDG_RUNTIME_DIR.

Additionally if WAYLAND_DISPLAY isn't an absolute path to the socket
(most setups) ensure XDG_RUNTIME_DIR is set and error with a typically
appropriate message.


No differences found