aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorAnders <a@anrd.net>2020-01-26 10:27:52 +0100
committerBrian Ashworth <bosrsf04@gmail.com>2020-02-04 19:52:21 -0500
commit4e46bdf73dc2e9f98ca14263f42dde664f7d2aba (patch)
tree57ccf6bb1989b050fb86b260e3bef0dbcec7d838 /include/sway
parent3f0225eea3d800475f2cd64d023297c684ab2310 (diff)
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.
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/criteria.h4
1 files changed, 2 insertions, 2 deletions
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