diff --git a/sway/tree/container.c b/sway/tree/container.c index 0fa4da48..57dd7305 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -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); if (container_is_floating(child) && child->view) {