summaryrefslogtreecommitdiff
path: root/src/xwayland/Server.cpp
diff options
context:
space:
mode:
authorVladimir-csp <4061903+Vladimir-csp@users.noreply.github.com>2025-06-21 17:21:08 +0300
committerGitHub <noreply@github.com>2025-06-21 16:21:08 +0200
commit4be32dbff4e9bba535a2baace11401522fc088d2 (patch)
treee3672796d729c1f8168afb5b627a7859c43a775b /src/xwayland/Server.cpp
parent8ebff1948ff665ff6a1b49fb715b7de0797fae04 (diff)
xwayland: Don't leave shell process (#10802)
Diffstat (limited to 'src/xwayland/Server.cpp')
-rw-r--r--src/xwayland/Server.cpp2
1 files changed, 1 insertions, 1 deletions
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());