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

Add option to enable XWayland debug

parent 230b560f
......@@ -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