xwayland/xwaylandlauncher: don't enable WAYLAND_DEBUG with KWIN_XWAYLAND_DEBUG=0
This commit is contained in:
parent
c733e7a7b6
commit
880ce92fb2
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ bool XwaylandLauncher::start()
|
|||
m_xwaylandProcess->setProgram(QStringLiteral("Xwayland"));
|
||||
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
|
||||
env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd));
|
||||
if (qEnvironmentVariableIsSet("KWIN_XWAYLAND_DEBUG")) {
|
||||
if (qEnvironmentVariableIntValue("KWIN_XWAYLAND_DEBUG") == 1) {
|
||||
env.insert("WAYLAND_DEBUG", QByteArrayLiteral("1"));
|
||||
}
|
||||
m_xwaylandProcess->setProcessEnvironment(env);
|
||||
|
|
Loading…
Reference in a new issue