aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-08-11 15:57:09 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-08-11 15:57:09 +1000
commit4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff (patch)
tree233e3977ad922df56a76d91e59606019fc21c38f /sway/input
parente474d87e42d625eb4e0a41a0559bbf0e4ec5ecc5 (diff)
downloadsway-4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff.tar.xz
Remove container_for_each_descendant_bfs
The function was not used. Also renames container_for_each_descendant_dfs to just container_for_each_descendant.
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c3
1 files changed, 1 insertions, 2 deletions
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);