Remove container_for_each_descendant_bfs

The function was not used.

Also renames container_for_each_descendant_dfs to just
container_for_each_descendant.
This commit is contained in:
Ryan Dwyer 2018-08-11 15:57:09 +10:00
parent e474d87e42
commit 4ad1ccc9dc
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);