mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Merge 81d1ed13e1 into e3c2412565
This commit is contained in:
commit
253294437c
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue