kwin: fix xwayland patch
The Xwayland code path was moved from ApplicationWayland to a dedicated class https://phabricator.kde.org/D15020
This commit is contained in:
parent
357ae3c884
commit
ea1131fc39
@ -1,13 +1,13 @@
|
||||
Index: kwin-5.7.3/main_wayland.cpp
|
||||
Index: kwin-5.15.5/xwl/xwayland.cpp
|
||||
===================================================================
|
||||
--- kwin-5.7.3.orig/main_wayland.cpp
|
||||
+++ kwin-5.7.3/main_wayland.cpp
|
||||
@@ -315,7 +315,7 @@ void ApplicationWayland::startXwaylandSe
|
||||
--- 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(kwinApp());
|
||||
m_xwaylandProcess = new Process(this);
|
||||
m_xwaylandProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel);
|
||||
- m_xwaylandProcess->setProgram(QStringLiteral("Xwayland"));
|
||||
+ m_xwaylandProcess->setProgram(QLatin1String(NIXPKGS_XWAYLAND));
|
||||
QProcessEnvironment env = m_environment;
|
||||
QProcessEnvironment env = m_app->processStartupEnvironment();
|
||||
env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd));
|
||||
m_xwaylandProcess->setProcessEnvironment(env);
|
||||
env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM"));
|
||||
|
Loading…
Reference in New Issue
Block a user