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

@ -232,7 +232,7 @@ static void scale_box(struct wlr_box *box, float scale) {
struct sway_workspace *output_get_active_workspace(struct sway_output *output) {
struct sway_seat *seat = input_manager_current_seat(input_manager);
struct sway_node *focus = seat_get_active_child(seat, &output->node);
struct sway_node *focus = seat_get_active_tiling_child(seat, &output->node);
if (!focus) {
return output->workspaces->items[0];
}