mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05: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
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue