mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
add socket manager protocol
This commit is contained in:
parent
178803b34e
commit
52178e4d77
8 changed files with 158 additions and 0 deletions
21
include/protocols/xi_socket_manager_v1.h
Normal file
21
include/protocols/xi_socket_manager_v1.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue