mirror of
https://github.com/swaywm/sway.git
synced 2025-11-19 06:59:52 -05:00
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.
This commit is contained in:
parent
3f0225eea3
commit
4e46bdf73d
3 changed files with 49 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue