aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2020-01-26 10:27:52 +0100
committerFurkan Sahin <furkan-dev@proton.me>2020-01-26 10:27:52 +0100
commit9453ee628658add6f3e6f780323fdc144c44cc67 (patch)
tree57ccf6bb1989b050fb86b260e3bef0dbcec7d838 /include
parentae1e700bfa1d59283c6da827389126216c3d72fc (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')
-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