commit 80a940a99254fe5cc2ffce20c0e52aacb60ec7f6
parent 91c662fa59f49e5cb547ca83e5741a8bece3aaf9
Author: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
Date: Thu, 23 Apr 2026 14:09:02 +0200
Treat ext-workspace-v1 as privileged
And do not expose it to clients in security contexts.
Fixes: https://github.com/swaywm/sway/issues/9120
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sway/server.c b/sway/server.c
@@ -126,7 +126,8 @@ static bool is_privileged(const struct wl_global *global) {
global == server.input->virtual_keyboard->global ||
global == server.input->virtual_pointer->global ||
global == server.input->transient_seat_manager->global ||
- global == server.xdg_output_manager_v1->global;
+ global == server.xdg_output_manager_v1->global ||
+ global == server.workspace_manager_v1->global;
}
static bool filter_global(const struct wl_client *client,