2010-04-16 16:51:25 -04:00
|
|
|
#ifndef _MATCH_H
|
|
|
|
#define _MATCH_H
|
|
|
|
|
2010-07-13 05:35:05 -04:00
|
|
|
/**
|
|
|
|
* Check if a match is empty. This is necessary while parsing commands to see
|
|
|
|
* whether the user specified a match at all.
|
|
|
|
*
|
|
|
|
*/
|
2010-04-16 16:51:25 -04:00
|
|
|
bool match_is_empty(Match *match);
|
2010-07-13 05:35:05 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Check if a match data structure matches the given window.
|
|
|
|
*
|
|
|
|
*/
|
2010-04-16 16:51:25 -04:00
|
|
|
bool match_matches_window(Match *match, i3Window *window);
|
|
|
|
|
|
|
|
#endif
|