From b0d0601d54ddc1c3310b1cdbedb2ad272b4159e9 Mon Sep 17 00:00:00 2001 From: Reion Wong Date: Mon, 31 Aug 2026 03:31:12 -0400 Subject: [PATCH] fix(session): keep Xwayland available for spice-vdagent --- session/cutefish-wayland-session | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/session/cutefish-wayland-session b/session/cutefish-wayland-session index 2706f25..5d7f7af 100755 --- a/session/cutefish-wayland-session +++ b/session/cutefish-wayland-session @@ -14,4 +14,8 @@ export XDG_CURRENT_DESKTOP=Cutefish export XDG_SESSION_DESKTOP=Cutefish export DESKTOP_SESSION=Cutefish -exec /usr/bin/kwin_wayland --exit-with-session /usr/bin/cutefish-kwin-wayland-session "$@" +# Keep Xwayland available for legacy X11 session agents such as +# spice-vdagent. The agent uses X11 selections and cannot connect to the +# native Wayland display directly; KWin bridges the Xwayland clipboard into +# the Wayland session. +exec /usr/bin/kwin_wayland --xwayland --exit-with-session /usr/bin/cutefish-kwin-wayland-session "$@"