mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
[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:
parent
cb4afadd01
commit
6adf19feda
3 changed files with 43 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;
|
||||
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue