diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-04-26 15:29:42 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-04-26 15:29:42 -0400 |
commit | 51143a75afe284d6c08e8a52516cba6afe834ac0 (patch) | |
tree | 33d37bb6aeb26d7db7c59a444cd72b95be35b3c8 /include/sway/criteria.h | |
parent | 3c1fc00f12e2777f6349a5d671b8d66c5997eb2b (diff) |
Implement no_focus
Ref #2
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 |