[wip] feature: Allow blocking wayland protocols

Missing:
- [ ] docs (including it only applying to new windows after --reconfigure)
- [ ] discuss config naming and format
This commit is contained in:
Consolatis 2023-07-26 02:35:37 +02:00
parent cb4afadd01
commit 6adf19feda
3 changed files with 43 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;
@ -94,6 +99,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;