diff options
Diffstat (limited to 'include/sway/criteria.h')
-rw-r--r-- | include/sway/criteria.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h index 022c48a8..c5ed9857 100644 --- a/include/sway/criteria.h +++ b/include/sway/criteria.h @@ -36,4 +36,7 @@ list_t *criteria_for(swayc_t *cont); // Returns a list of all containers that match the given list of tokens. list_t *container_for(list_t *tokens); +// Returns true if any criteria in the given list matches this container +bool criteria_any(swayc_t *cont, list_t *criteria); + #endif |