mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
Merge pull request #2449 from RyanDwyer/remove-bfs
Remove container_for_each_descendant_bfs
This commit is contained in:
commit
2aa6d98c5a
9 changed files with 15 additions and 62 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue