]> git.lizzy.rs Git - bspwm.git/blob - rules.h
Implement ICCCM's WM_TAKE_FOCUS behavior
[bspwm.git] / rules.h
1 #ifndef _RULES_H
2 #define _RULES_H
3
4 void add_rule(rule_t *);
5 void remove_rule(rule_t *);
6 void remove_rule_by_uid(unsigned int);
7 void prune_rules(desktop_t *);
8 rule_t *find_rule(unsigned int);
9 bool is_match(rule_t *, xcb_window_t);
10 void handle_rules(xcb_window_t, monitor_t **, desktop_t **, bool *, bool *, bool *, bool *, bool *, bool *);
11 void list_rules(char *, char *);
12
13 #endif