diff options
| author | Simon Ser <contact@emersion.fr> | 2024-05-24 23:49:32 +0200 |
|---|---|---|
| committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2024-05-27 09:27:20 -0400 |
| commit | 700f4805bc3ca86b3c2a46aa96bcee9d8e20f599 (patch) | |
| tree | 01dd259868986e3446105f618b8eaeea849edac0 /include | |
| parent | a168b2029932d2a76341d91b3c6d8463de568213 (diff) | |
server: hide xdg_output from unprivileged clients
Regular Wayland clients shouldn't care about the position or size
of outputs. Hide xdg_output from unprivileged clients to make sure
they're not doing shenanigans with this information.
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 90f187fd..3a63df34 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -81,6 +81,8 @@ struct sway_server { struct wlr_pointer_constraints_v1 *pointer_constraints; struct wl_listener pointer_constraint; + struct wlr_xdg_output_manager_v1 *xdg_output_manager_v1; + struct wlr_output_manager_v1 *output_manager_v1; struct wl_listener output_manager_apply; struct wl_listener output_manager_test; |
