nixpkgs/pkgs/desktops/plasma-5/kwin/xwayland.patch

14 lines
663 B
Diff
Raw Normal View History

Index: kwin-5.15.5/xwl/xwayland.cpp
2016-08-04 15:46:35 +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
m_xwaylandProcess = new Process(this);
2016-08-04 15:46:35 +01:00
m_xwaylandProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel);
- m_xwaylandProcess->setProgram(QStringLiteral("Xwayland"));
+ m_xwaylandProcess->setProgram(QLatin1String(NIXPKGS_XWAYLAND));
QProcessEnvironment env = m_app->processStartupEnvironment();
2016-08-04 15:46:35 +01:00
env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd));
env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM"));