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

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());