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:
Ryan Dwyer 2018-09-16 22:01:54 +10:00
parent 48bc15e758
commit f6e218a643
8 changed files with 16 additions and 15 deletions

View file

@ -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;
}
}