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