diff options
author | Drew DeVault <[email protected]> | 2018-08-11 08:29:34 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2018-08-11 08:29:34 -0400 |
commit | 2aa6d98c5a6d37c759e1e9cc84032a95fb193793 (patch) | |
tree | c7e26e67ae4e4fa393edc97f301b4e4a989d228f /sway/criteria.c | |
parent | 9545c70928d47172cfbcbd318628497b87efefc1 (diff) | |
parent | 4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff (diff) |
Merge pull request #2449 from RyanDwyer/remove-bfs
Remove container_for_each_descendant_bfs
Diffstat (limited to 'sway/criteria.c')
-rw-r--r-- | sway/criteria.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/criteria.c b/sway/criteria.c index 9077aa9b..a5df1eef 100644 --- a/sway/criteria.c +++ b/sway/criteria.c @@ -167,7 +167,7 @@ static bool criteria_matches_view(struct criteria *criteria, return false; } list_t *urgent_views = create_list(); - container_for_each_descendant_dfs(&root_container, + container_for_each_descendant(&root_container, find_urgent_iterator, urgent_views); list_stable_sort(urgent_views, cmp_urgent); struct sway_view *target; @@ -228,7 +228,7 @@ list_t *criteria_get_views(struct criteria *criteria) { .criteria = criteria, .matches = matches, }; - container_for_each_descendant_dfs(&root_container, + container_for_each_descendant(&root_container, criteria_get_views_iterator, &data); // Scratchpad items which are hidden are not in the tree. |