mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
Rename seat_get_active_child to seat_get_active_tiling_child
Also renames container to con in one function to prevent ugly line wrapping.
This commit is contained in:
parent
48bc15e758
commit
f6e218a643
8 changed files with 16 additions and 15 deletions
|
|
@ -176,7 +176,8 @@ static void copy_container_state(struct sway_container *container,
|
|||
state->focused = seat_get_focus(seat) == &container->node;
|
||||
|
||||
if (!container->view) {
|
||||
struct sway_node *focus = seat_get_active_child(seat, &container->node);
|
||||
struct sway_node *focus =
|
||||
seat_get_active_tiling_child(seat, &container->node);
|
||||
state->focused_inactive_child = focus ? focus->sway_container : NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue