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

@ -220,7 +220,7 @@ static struct sway_container *container_at_tabbed(struct sway_node *parent,
}
// Surfaces
struct sway_node *current = seat_get_active_child(seat, parent);
struct sway_node *current = seat_get_active_tiling_child(seat, parent);
return current ? tiling_container_at(current, lx, ly, surface, sx, sy) : NULL;
}
@ -248,7 +248,7 @@ static struct sway_container *container_at_stacked(struct sway_node *parent,
}
// Surfaces
struct sway_node *current = seat_get_active_child(seat, parent);
struct sway_node *current = seat_get_active_tiling_child(seat, parent);
return current ? tiling_container_at(current, lx, ly, surface, sx, sy) : NULL;
}