mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
Merge f5257fe37d into a89bcc3c60
This commit is contained in:
commit
83740dbbee
6 changed files with 232 additions and 0 deletions
|
|
@ -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
11
include/server-unpriv.h
Normal 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue