From 4be32dbff4e9bba535a2baace11401522fc088d2 Mon Sep 17 00:00:00 2001 From: Vladimir-csp <4061903+Vladimir-csp@users.noreply.github.com> Date: Sat, 21 Jun 2025 17:21:08 +0300 Subject: [PATCH] xwayland: Don't leave shell process (#10802) --- src/xwayland/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwayland/Server.cpp b/src/xwayland/Server.cpp index 0cc16fef..cce325f5 100644 --- a/src/xwayland/Server.cpp +++ b/src/xwayland/Server.cpp @@ -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());