Commit ab5d1737 authored by David Edmundson's avatar David Edmundson Committed by Vlad Zahorodnii
Browse files

Add option to enable XWayland debug

(cherry picked from commit ed793dca)
parent d4e8c7e1
......@@ -128,6 +128,9 @@ void Xwayland::start()
QProcessEnvironment env = m_app->processStartupEnvironment();
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