aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2023-06-22 17:06:10 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2023-07-04 17:22:47 +0200
commitfd90e6180b1f56698d96fe2bcab1954af6766db7 (patch)
tree75e329e03c94d5e556b062cda58ad096b520739c /include/sway/server.h
parentHide xwayland_shell_v1 from regular clients (diff)
downloadsway-fd90e6180b1f56698d96fe2bcab1954af6766db7.tar.gz
sway-fd90e6180b1f56698d96fe2bcab1954af6766db7.tar.zst
sway-fd90e6180b1f56698d96fe2bcab1954af6766db7.zip
Add support for security-context-v1security-context
As a first step, deny access to privileged protocols to sandboxed apps. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3589
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 0e4ec2be..5d3a14a8 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -115,6 +115,10 @@ struct sway_server {
115 struct wlr_text_input_manager_v3 *text_input; 115 struct wlr_text_input_manager_v3 *text_input;
116 struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager; 116 struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager;
117 struct wlr_content_type_manager_v1 *content_type_manager_v1; 117 struct wlr_content_type_manager_v1 *content_type_manager_v1;
118 struct wlr_data_control_manager_v1 *data_control_manager_v1;
119 struct wlr_screencopy_manager_v1 *screencopy_manager_v1;
120 struct wlr_export_dmabuf_manager_v1 *export_dmabuf_manager_v1;
121 struct wlr_security_context_manager_v1 *security_context_manager_v1;
118 122
119 struct wlr_xdg_activation_v1 *xdg_activation_v1; 123 struct wlr_xdg_activation_v1 *xdg_activation_v1;
120 struct wl_listener xdg_activation_v1_request_activate; 124 struct wl_listener xdg_activation_v1_request_activate;