From fd36bf24758a1a8559308e004df2a533d4a2f4c8 Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Wed, 13 Jan 2021 11:02:33 -0700 Subject: [PATCH] container: use the current seat in container_split --- sway/tree/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {