mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 00:41:28 +00:00
container: use the current seat in container_split
This commit is contained in:
parent
1ad4632ab0
commit
fd36bf2475
|
@ -1423,7 +1423,7 @@ struct sway_container *container_split(struct sway_container *child,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct sway_seat *seat = input_manager_get_default_seat();
|
struct sway_seat *seat = input_manager_current_seat();
|
||||||
bool set_focus = (seat_get_focus(seat) == &child->node);
|
bool set_focus = (seat_get_focus(seat) == &child->node);
|
||||||
|
|
||||||
if (container_is_floating(child) && child->view) {
|
if (container_is_floating(child) && child->view) {
|
||||||
|
|
Loading…
Reference in a new issue