This commit is contained in:
Consolatis 2023-08-18 15:15:40 +09:00 committed by GitHub
commit 83740dbbee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 232 additions and 0 deletions

View file

@ -31,6 +31,11 @@ struct window_switcher_field {
struct wl_list link; /* struct rcxml.window_switcher.fields */
};
struct blocked_protocol {
struct wl_list link; /* struct rcxml.blocked_protocols */
char *interface_name;
};
struct rcxml {
char *config_dir;
@ -95,6 +100,7 @@ struct rcxml {
} window_switcher;
struct wl_list window_rules; /* struct window_rule.link */
struct wl_list blocked_protocols; /* struct blocked_protocol.link */
};
extern struct rcxml rc;

11
include/server-unpriv.h Normal file
View file

@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_SERVER_UNPRIV_H
#define LABWC_SERVER_UNPRIV_H
struct server;
struct wl_client;
void unpriv_socket_start(struct server *server);
bool is_unpriv_client(const struct wl_client *wl_client);
#endif /* LABWC_UNPRIV_H */