Commit 4854296b authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

xwayland: Make launcher not force EGL_PLATFORM

It was added to work around Xwayland crashing at startup due to a mesa
issue, see commit 58fa92e4.

It's been almost 6 years since that change. No other major wayland
compositor forces EGL_PLATFORM, so lets remove the workaround.

The main motivation behind this change is to get rid of code that's not
straightforward and should be unnecessary in general.
parent 149f756c
Pipeline #154048 passed with stage
in 12 minutes and 29 seconds
......@@ -167,7 +167,6 @@ bool XwaylandLauncher::startInternal()
m_xwaylandProcess->setProgram(QStringLiteral("Xwayland"));
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd));
env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM"));
if (qEnvironmentVariableIsSet("KWIN_XWAYLAND_DEBUG")) {
env.insert("WAYLAND_DEBUG", QByteArrayLiteral("1"));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment