graesslin added a comment.
In D10816#233074 <https://phabricator.kde.org/D10816#233074>, @fvogt wrote: > `XDG_SESSION_TYPE` is not set if you run `startplasmacompositor` from a tty - so should this also check for `WAYLAND_DISPLAY` or `startplasmacompositor` set `XDG_SESSION_TYPE=wayland`? No, I think that's a cornercase. Running from a tty is not the way users interact with the system and from developers we can expect to set this variable. Basing the change on the availability of WAYLAND_DISPLAY or DISPLAY has disadvantages including that we don't know what the door is. We could have both: Wayland on top of X of X on top of Wayland. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D10816 To: graesslin, #plasma, romangg Cc: fvogt, davidedmundson, romangg, broulik, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart