Treat ext-workspace-v1 as privileged

And do not expose it to clients in security contexts.

Fixes: https://github.com/swaywm/sway/issues/9120
This commit is contained in:
Hugo Osvaldo Barrera 2026-04-23 14:09:02 +02:00 committed by Simon Ser
parent 91c662fa59
commit 80a940a992

View file

@ -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,