[wayland] Pass processStartupEnvironment to ScreenLocker
Need to pass a proper env to ScreenLocker to ensure we don't mess with the greeter's environment by e.g. unsetting QT_IM_MODULE or setting EGL_PLATFORM. Reviewed-By: Bhushan Shah
This commit is contained in:
parent
7c8adeff9e
commit
e2dc6380d1
1 changed files with 1 additions and 0 deletions
|
@ -237,6 +237,7 @@ void WaylandServer::initWorkspace()
|
|||
|
||||
ScreenLocker::KSldApp::self();
|
||||
ScreenLocker::KSldApp::self()->setWaylandDisplay(m_display);
|
||||
ScreenLocker::KSldApp::self()->setGreeterEnvironment(kwinApp()->processStartupEnvironment());
|
||||
ScreenLocker::KSldApp::self()->initialize();
|
||||
|
||||
connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::greeterClientConnectionChanged, this,
|
||||
|
|
Loading…
Reference in a new issue