mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
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:
parent
91c662fa59
commit
80a940a992
1 changed files with 2 additions and 1 deletions
|
|
@ -126,7 +126,8 @@ static bool is_privileged(const struct wl_global *global) {
|
||||||
global == server.input->virtual_keyboard->global ||
|
global == server.input->virtual_keyboard->global ||
|
||||||
global == server.input->virtual_pointer->global ||
|
global == server.input->virtual_pointer->global ||
|
||||||
global == server.input->transient_seat_manager->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,
|
static bool filter_global(const struct wl_client *client,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue