about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/plasma-5/kwin/0002-xwayland.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/plasma-5/kwin/0002-xwayland.patch')
-rw-r--r--nixpkgs/pkgs/desktops/plasma-5/kwin/0002-xwayland.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/plasma-5/kwin/0002-xwayland.patch b/nixpkgs/pkgs/desktops/plasma-5/kwin/0002-xwayland.patch
new file mode 100644
index 000000000000..dfd25e727f94
--- /dev/null
+++ b/nixpkgs/pkgs/desktops/plasma-5/kwin/0002-xwayland.patch
@@ -0,0 +1,25 @@
+From 5c90dd84f541bd4789525f12f12ad24411b99018 Mon Sep 17 00:00:00 2001
+From: Thomas Tuegel <ttuegel@mailbox.org>
+Date: Mon, 27 Jan 2020 05:31:23 -0600
+Subject: [PATCH 2/3] xwayland
+
+---
+ src/xwayland/xwaylandlauncher.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/xwayland/xwaylandlauncher.cpp b/src/xwayland/xwaylandlauncher.cpp
+index 57efdde..a211a58 100644
+--- a/src/xwayland/xwaylandlauncher.cpp
++++ b/src/xwayland/xwaylandlauncher.cpp
+@@ -163,7 +163,7 @@ void Xwayland::start()
+ 
+     m_xwaylandProcess = new QProcess(this);
+     m_xwaylandProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel);
+-    m_xwaylandProcess->setProgram(QStringLiteral("Xwayland"));
++    m_xwaylandProcess->setProgram(QLatin1String(NIXPKGS_XWAYLAND));
+     QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
+     env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd));
+     if (qEnvironmentVariableIsSet("KWIN_XWAYLAND_DEBUG")) {
+-- 
+2.29.2
+