bool match_is_empty(Match *match)
Check if a match is empty.
void match_init(Match *match)
Initializes the Match data structure.
void match_copy(Match *dest, Match *src)
Copies the data of a match from src to dest.
void match_free(Match *match)
Frees the given match.
bool match_matches_window(Match *match, i3Window *window)
Check if a match data structure matches the given window.
void match_parse_property(Match *match, const char *ctype, const char *cvalue)
Interprets a ctype=cvalue pair and adds it to the given match specification.
A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_...
A "match" is a data structure which acts like a mask or expression to match certain windows or not.