diff --git a/main_wayland.cpp b/main_wayland.cpp index ebc2c14a64..27ae358864 100644 --- a/main_wayland.cpp +++ b/main_wayland.cpp @@ -324,6 +324,7 @@ void ApplicationWayland::startXwaylandServer() m_xwaylandProcess->setProgram(QStringLiteral("Xwayland")); QProcessEnvironment env = m_environment; env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd)); + env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM")); m_xwaylandProcess->setProcessEnvironment(env); m_xwaylandProcess->setArguments({QStringLiteral("-displayfd"), QString::number(pipeFds[1]),