aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seat.c')
-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,
375 // init the focus stack 375 // init the focus stack
376 wl_list_init(&seat->focus_stack); 376 wl_list_init(&seat->focus_stack);
377 377
378 container_for_each_descendant_dfs(&root_container, 378 container_for_each_descendant(&root_container, collect_focus_iter, seat);
379 collect_focus_iter, seat);
380 379
381 wl_signal_add(&root_container.sway_root->events.new_container, 380 wl_signal_add(&root_container.sway_root->events.new_container,
382 &seat->new_container); 381 &seat->new_container);