Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 65e3cc3a authored by Fabian Vogt's avatar Fabian Vogt

Set XDG_SESSION_TYPE=wayland in startplasmacompositor

Summary:
KWorkSpace::detectPlatform among others use that, so make sure it's set.

On 5.12 it has export QT_QPA_PLATFORM=wayland already, so it's not necessary (?).

Test Plan: I had that patch applied locally for basically ever, works fine.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18233
parent 21236c46
......@@ -218,6 +218,9 @@ export KDE_SESSION_UID
XDG_CURRENT_DESKTOP=KDE
export XDG_CURRENT_DESKTOP
XDG_SESSION_TYPE=wayland
export XDG_SESSION_TYPE
# kwin_wayland can possibly also start dbus-activated services which need env variables.
# In that case, the update in startplasma might be too late.
if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment