mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
16 lines
558 B
C
16 lines
558 B
C
#ifndef BSPWM_RULE_H
|
|
#define BSPWM_RULE_H
|
|
|
|
#define MATCH_ALL "*"
|
|
#define LST_SEP ","
|
|
|
|
rule_t *make_rule(void);
|
|
void add_rule(rule_t *r);
|
|
void remove_rule(rule_t *r);
|
|
void remove_rule_by_name(char *name);
|
|
bool remove_rule_by_index(int idx);
|
|
bool is_match(rule_t *r, xcb_window_t win);
|
|
void handle_rules(xcb_window_t win, monitor_t **m, desktop_t **d, unsigned int *tags_field, bool *floating, bool *fullscreen, bool *locked, bool *sticky, bool *follow, bool *transient, bool *takes_focus, bool *manage);
|
|
void list_rules(char *pattern, char *rsp);
|
|
|
|
#endif
|