Commit 77ec43d5 authored by Nicolas Fella's avatar Nicolas Fella Committed by Vlad Zahorodnii
Browse files

Don't force QT_QPA_PLATFORM=wayland

We're setting this env variable because earlier we used it to force kwin to use its special QPA so we need to change that back to something sensible.

However setting it to Wayland breaks apps that ship their own Qt with missing or broken Wayland support.

Set it to be empty instead. Well-behaved Qt apps will use Wayland regardless because of XDG_SESSION_TYPE.

BUG: 450000
parent a4bb3896
Pipeline #136465 passed with stage
in 11 minutes and 56 seconds
......@@ -388,8 +388,8 @@ int main(int argc, char * argv[])
KWin::ApplicationWayland a(argc, argv);
// reset QT_QPA_PLATFORM to a sane value for any processes started from KWin
setenv("QT_QPA_PLATFORM", "wayland", true);
// reset QT_QPA_PLATFORM so we don't propagate it to our children (e.g. apps launched from the overview effect)
Supports Markdown
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