Merge pull request #2449 from RyanDwyer/remove-bfs

Remove container_for_each_descendant_bfs
This commit is contained in:
Drew DeVault 2018-08-11 08:29:34 -04:00 committed by GitHub
commit 2aa6d98c5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 15 additions and 62 deletions

View file

@ -375,8 +375,7 @@ struct sway_seat *seat_create(struct sway_input_manager *input,
// init the focus stack
wl_list_init(&seat->focus_stack);
container_for_each_descendant_dfs(&root_container,
collect_focus_iter, seat);
container_for_each_descendant(&root_container, collect_focus_iter, seat);
wl_signal_add(&root_container.sway_root->events.new_container,
&seat->new_container);