mirror of
https://github.com/labwc/labwc.git
synced 2026-04-19 06:46:31 -04:00
add socket manager protocol
This commit is contained in:
parent
2285c5e77c
commit
d212c11572
9 changed files with 159 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue