2019-07-29 15:22:49 +01:00
|
|
|
Index: kwin-5.15.5/xwl/xwayland.cpp
|
2016-08-04 15:46:35 +01:00
|
|
|
===================================================================
|
2019-07-29 15:22:49 +01:00
|
|
|
--- kwin-5.15.5.orig/xwl/xwayland.cpp
|
|
|
|
+++ kwin-5.15.5/xwl/xwayland.cpp
|
|
|
|
@@ -143,7 +143,7 @@ void Xwayland::init()
|
2016-08-04 15:46:35 +01:00
|
|
|
|
2019-07-29 15:22:49 +01:00
|
|
|
m_xwaylandProcess = new Process(this);
|
2016-08-04 15:46:35 +01:00
|
|
|
m_xwaylandProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel);
|
|
|
|
- m_xwaylandProcess->setProgram(QStringLiteral("Xwayland"));
|
2017-05-26 21:44:07 +01:00
|
|
|
+ m_xwaylandProcess->setProgram(QLatin1String(NIXPKGS_XWAYLAND));
|
2019-07-29 15:22:49 +01:00
|
|
|
QProcessEnvironment env = m_app->processStartupEnvironment();
|
2016-08-04 15:46:35 +01:00
|
|
|
env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd));
|
2019-07-29 15:22:49 +01:00
|
|
|
env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM"));
|