18 lines
345 B
C
18 lines
345 B
C
#ifndef _MATCH_H
|
|
#define _MATCH_H
|
|
|
|
/**
|
|
* Check if a match is empty. This is necessary while parsing commands to see
|
|
* whether the user specified a match at all.
|
|
*
|
|
*/
|
|
bool match_is_empty(Match *match);
|
|
|
|
/**
|
|
* Check if a match data structure matches the given window.
|
|
*
|
|
*/
|
|
bool match_matches_window(Match *match, i3Window *window);
|
|
|
|
#endif
|