diff options
author | Anders <a@anrd.net> | 2020-01-26 10:27:52 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-02-04 19:52:21 -0500 |
commit | 4e46bdf73dc2e9f98ca14263f42dde664f7d2aba (patch) | |
tree | 57ccf6bb1989b050fb86b260e3bef0dbcec7d838 /include | |
parent | Change wording (diff) | |
download | sway-4e46bdf73dc2e9f98ca14263f42dde664f7d2aba.tar.gz sway-4e46bdf73dc2e9f98ca14263f42dde664f7d2aba.tar.zst sway-4e46bdf73dc2e9f98ca14263f42dde664f7d2aba.zip |
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.h | 4 |
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); | |||
73 | list_t *criteria_for_view(struct sway_view *view, enum criteria_type types); | 73 | list_t *criteria_for_view(struct sway_view *view, enum criteria_type types); |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * Compile a list of views matching the given criteria. | 76 | * Compile a list of containers matching the given criteria. |
77 | */ | 77 | */ |
78 | list_t *criteria_get_views(struct criteria *criteria); | 78 | list_t *criteria_get_containers(struct criteria *criteria); |
79 | 79 | ||
80 | #endif | 80 | #endif |