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 | tree/view: Do not clip to geometry if using CSD (diff) | |
download | sway-700f4805bc3ca86b3c2a46aa96bcee9d8e20f599.tar.gz sway-700f4805bc3ca86b3c2a46aa96bcee9d8e20f599.tar.zst sway-700f4805bc3ca86b3c2a46aa96bcee9d8e20f599.zip |
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 { | |||
81 | struct wlr_pointer_constraints_v1 *pointer_constraints; | 81 | struct wlr_pointer_constraints_v1 *pointer_constraints; |
82 | struct wl_listener pointer_constraint; | 82 | struct wl_listener pointer_constraint; |
83 | 83 | ||
84 | struct wlr_xdg_output_manager_v1 *xdg_output_manager_v1; | ||
85 | |||
84 | struct wlr_output_manager_v1 *output_manager_v1; | 86 | struct wlr_output_manager_v1 *output_manager_v1; |
85 | struct wl_listener output_manager_apply; | 87 | struct wl_listener output_manager_apply; |
86 | struct wl_listener output_manager_test; | 88 | struct wl_listener output_manager_test; |