forked from mirrors/nixpkgs
ea1131fc39
The Xwayland code path was moved from ApplicationWayland to a dedicated class https://phabricator.kde.org/D15020
14 lines
663 B
Diff
14 lines
663 B
Diff
Index: kwin-5.15.5/xwl/xwayland.cpp
|
|
===================================================================
|
|
--- kwin-5.15.5.orig/xwl/xwayland.cpp
|
|
+++ kwin-5.15.5/xwl/xwayland.cpp
|
|
@@ -143,7 +143,7 @@ void Xwayland::init()
|
|
|
|
m_xwaylandProcess = new Process(this);
|
|
m_xwaylandProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel);
|
|
- m_xwaylandProcess->setProgram(QStringLiteral("Xwayland"));
|
|
+ m_xwaylandProcess->setProgram(QLatin1String(NIXPKGS_XWAYLAND));
|
|
QProcessEnvironment env = m_app->processStartupEnvironment();
|
|
env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd));
|
|
env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM"));
|