From 4e46bdf73dc2e9f98ca14263f42dde664f7d2aba Mon Sep 17 00:00:00 2001 From: Anders Date: Sun, 26 Jan 2020 10:27:52 +0100 Subject: criteria: match containers without view Closes #4929 Replaces criteria_get_views with criteria_get_containers which can return containers without views when the criteria only contains container properties. --- include/sway/criteria.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/sway') diff --git a/include/sway/criteria.h b/include/sway/criteria.h index 1ee69a38..beb76d5f 100644 --- a/include/sway/criteria.h +++ b/include/sway/criteria.h @@ -73,8 +73,8 @@ struct criteria *criteria_parse(char *raw, char **error); list_t *criteria_for_view(struct sway_view *view, enum criteria_type types); /** - * Compile a list of views matching the given criteria. + * Compile a list of containers matching the given criteria. */ -list_t *criteria_get_views(struct criteria *criteria); +list_t *criteria_get_containers(struct criteria *criteria); #endif -- cgit v1.2.3