]> git.lizzy.rs Git - bspwm.git/blobdiff - rules.h
New setting: `history_aware_focus`
[bspwm.git] / rules.h
diff --git a/rules.h b/rules.h
index 86e02155fb5e53ebf110293fdf455a84ca6bbcca..f057d4fc335743953a8d983b1683cca9793b5677 100644 (file)
--- a/rules.h
+++ b/rules.h
@@ -1,10 +1,13 @@
 #ifndef _RULES_H
 #define _RULES_H
 
-#define MATCH_ANY "_"
-
-rule_t *next_match(rule_t *, xcb_window_t);
+void add_rule(rule_t *);
+void remove_rule(rule_t *);
+void remove_rule_by_uid(unsigned int);
+void prune_rules(desktop_t *);
+rule_t *find_rule(unsigned int);
 bool is_match(rule_t *, xcb_window_t);
-void handle_rules(xcb_window_t, bool *, bool *, bool *);
+void handle_rules(xcb_window_t, monitor_t **, desktop_t **, bool *, bool *, bool *, bool *, bool *, bool *);
+void list_rules(char *);
 
 #endif