From 4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sat, 11 Aug 2018 15:57:09 +1000 Subject: Remove container_for_each_descendant_bfs The function was not used. Also renames container_for_each_descendant_dfs to just container_for_each_descendant. --- sway/input/seat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sway/input') diff --git a/sway/input/seat.c b/sway/input/seat.c index 6dd7cf7d..f7d15c50 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -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); -- cgit v1.2.3