mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 18:01:29 +00:00
Merge pull request #3071 from RedSoxFan/fix-3064
Fix focus_wrapping yes
This commit is contained in:
commit
e9c77970fa
|
@ -156,6 +156,14 @@ static struct sway_node *node_get_in_direction(struct sway_container *container,
|
||||||
if (new_output) {
|
if (new_output) {
|
||||||
return get_node_in_output_direction(new_output, dir);
|
return get_node_in_output_direction(new_output, dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If there is a wrap candidate, return its focus inactive view
|
||||||
|
if (wrap_candidate) {
|
||||||
|
struct sway_container *wrap_inactive = seat_get_focus_inactive_view(
|
||||||
|
seat, &wrap_candidate->node);
|
||||||
|
return &wrap_inactive->node;
|
||||||
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue