add socket manager protocol

This commit is contained in:
Tobias Bengfort 2026-02-28 11:47:14 +01:00
parent 178803b34e
commit 52178e4d77
8 changed files with 158 additions and 0 deletions

View file

@ -0,0 +1,21 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_PROTOCOLS_XI_SOCKET_MANAGER_H
#define LABWC_PROTOCOLS_XI_SOCKET_MANAGER_H
#include <wayland-server-core.h>
struct xi_socket_manager_v1 {
struct wl_global *global;
struct {
struct wl_signal destroy;
struct wl_signal register_socket;
} events;
struct wl_listener display_destroy;
};
struct xi_socket_manager_v1 *xi_socket_manager_v1_create(
struct wl_display *display);
#endif