diff --git a/src/inputmethod.cpp b/src/inputmethod.cpp index 2a2aa22591..fa166e7752 100644 --- a/src/inputmethod.cpp +++ b/src/inputmethod.cpp @@ -688,7 +688,6 @@ void InputMethod::startInputMethod() QProcessEnvironment environment = kwinApp()->processStartupEnvironment(); environment.insert(QStringLiteral("WAYLAND_SOCKET"), QByteArray::number(socket)); environment.insert(QStringLiteral("QT_QPA_PLATFORM"), QStringLiteral("wayland")); - environment.remove("WAYLAND_DISPLAY"); m_inputMethodProcess = new QProcess(this); m_inputMethodProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel);