add socket manager protocol

This commit is contained in:
Tobias Bengfort 2026-02-28 11:47:14 +01:00
parent 2285c5e77c
commit d212c11572
9 changed files with 159 additions and 0 deletions

View file

@ -76,6 +76,7 @@
#include "view.h"
#include "workspaces.h"
#include "xwayland.h"
#include "protocols/ext_socket_manager_v1.h"
#define LAB_EXT_DATA_CONTROL_VERSION 1
#define LAB_EXT_FOREIGN_TOPLEVEL_LIST_VERSION 1
@ -263,6 +264,7 @@ allow_for_sandbox(const struct wlr_security_context_v1_state *security_state,
"zwp_idle_inhibit_manager_v1",
"zwp_pointer_constraints_v1",
"zxdg_output_manager_v1",
"ext_socket_manager_v1",
};
for (size_t i = 0; i < ARRAY_SIZE(allowed_protocols); i++) {
@ -688,6 +690,8 @@ server_init(void)
LAB_EXT_DATA_CONTROL_VERSION);
server.security_context_manager_v1 =
wlr_security_context_manager_v1_create(server.wl_display);
server.ext_socket_manager_v1 =
ext_socket_manager_v1_create(server.wl_display);
wlr_viewporter_create(server.wl_display);
wlr_single_pixel_buffer_manager_v1_create(server.wl_display);
wlr_fractional_scale_manager_v1_create(server.wl_display,