mirror of
https://github.com/labwc/labwc.git
synced 2026-04-17 06:46:28 -04:00
add socket manager protocol
This commit is contained in:
parent
2285c5e77c
commit
d212c11572
9 changed files with 159 additions and 0 deletions
|
|
@ -298,6 +298,7 @@ struct server {
|
|||
|
||||
struct wlr_tablet_manager_v2 *tablet_manager;
|
||||
struct wlr_security_context_manager_v1 *security_context_manager_v1;
|
||||
struct ext_socket_manager_v1 *ext_socket_manager_v1;
|
||||
|
||||
/* Set when in cycle (alt-tab) mode */
|
||||
struct cycle_state cycle;
|
||||
|
|
|
|||
21
include/protocols/ext_socket_manager_v1.h
Normal file
21
include/protocols/ext_socket_manager_v1.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef LABWC_PROTOCOLS_EXT_SOCKET_MANAGER_H
|
||||
#define LABWC_PROTOCOLS_EXT_SOCKET_MANAGER_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
|
||||
struct ext_socket_manager_v1 {
|
||||
struct wl_global *global;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
struct wl_signal register_socket;
|
||||
} events;
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
};
|
||||
|
||||
struct ext_socket_manager_v1 *ext_socket_manager_v1_create(
|
||||
struct wl_display *display);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue