xwayland: Don't leave shell process (#10802)

This commit is contained in:
Vladimir-csp 2025-06-21 17:21:08 +03:00 committed by GitHub
parent 8ebff1948f
commit 4be32dbff4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -299,7 +299,7 @@ void CXWaylandServer::runXWayland(CFileDescriptor& notifyFD) {
_exit(EXIT_FAILURE);
}
auto cmd = std::format("Xwayland {} -rootless -core -listenfd {} -listenfd {} -displayfd {} -wm {}", m_displayName, m_xFDs[0].get(), m_xFDs[1].get(), notifyFD.get(),
auto cmd = std::format("exec Xwayland {} -rootless -core -listenfd {} -listenfd {} -displayfd {} -wm {}", m_displayName, m_xFDs[0].get(), m_xFDs[1].get(), notifyFD.get(),
m_xwmFDs[1].get());
auto waylandSocket = std::format("{}", m_waylandFDs[1].get());