D10816: Add platform detection to KWorkspace library to adjust QT_QPA_PLATFORM

Martin Flöser noreply at phabricator.kde.org
Sat Mar 24 18:49:09 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180324/53494a85/attachment.html>


More information about the Plasma-devel mailing list