mirror of
https://github.com/swaywm/sway.git
synced 2026-07-05 00:06:04 -04:00
commands/focus: focus floating windows when moving across outputs
Moving focus directionally to an output containing only floating windows would previously focus the workspace instead of the previously focused floating window. This change falls back to the inactive focus, to match the behaviour of workspace_switch().
This commit is contained in:
parent
f3011841aa
commit
512d64b70f
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ static struct sway_node *get_node_in_output_direction(
|
|||
return &container->node;
|
||||
}
|
||||
|
||||
return &ws->node;
|
||||
return seat_get_focus_inactive(seat, &ws->node);
|
||||
}
|
||||
|
||||
static struct sway_node *node_get_in_direction_tiling(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue