mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
Merge 81d1ed13e1
into d7a76d381b
This commit is contained in:
commit
fc3d1f4a89
@ -602,7 +602,9 @@ static struct cmd_results *cmd_move_container(bool no_auto_back_and_forth,
|
|||||||
focus = seat_get_focus_inactive(seat, &old_parent->node);
|
focus = seat_get_focus_inactive(seat, &old_parent->node);
|
||||||
}
|
}
|
||||||
if (!focus && old_ws) {
|
if (!focus && old_ws) {
|
||||||
focus = seat_get_focus_inactive(seat, &old_ws->node);
|
struct sway_container *container =
|
||||||
|
seat_get_focus_inactive_view(seat, &old_ws->node);
|
||||||
|
focus = &container->node;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
seat_set_focus(seat, focus);
|
seat_set_focus(seat, focus);
|
||||||
|
Loading…
Reference in New Issue
Block a user