From 51143a75afe284d6c08e8a52516cba6afe834ac0 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 26 Apr 2017 15:29:42 -0400 Subject: Implement no_focus Ref #2 --- include/sway/criteria.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/sway/criteria.h') 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 -- cgit v1.2.3-54-g00ecf