aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-05-24 23:49:32 +0200
committerFurkan Sahin <furkan-dev@proton.me>2024-05-24 23:49:32 +0200
commitd5e15b28f6c76a4ff4bcfd91988369e1922c7696 (patch)
tree01dd259868986e3446105f618b8eaeea849edac0 /include
parent7532e46a795af39d97e9f70df7d0add617a6b2d5 (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.h2
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;