From 700f4805bc3ca86b3c2a46aa96bcee9d8e20f599 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 24 May 2024 23:49:32 +0200 Subject: 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. --- include/sway/server.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3-70-g09d2