aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r--sway/commands/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c
index 8f0ef230..42b305d1 100644
--- a/sway/commands/move.c
+++ b/sway/commands/move.c
@@ -149,7 +149,7 @@ static void container_move_to_container_from_direction(
}
wlr_log(WLR_DEBUG, "Reparenting container (perpendicular)");
- struct sway_node *focus_inactive = seat_get_active_child(
+ struct sway_node *focus_inactive = seat_get_active_tiling_child(
config->handler_context.seat, &destination->node);
if (!focus_inactive || focus_inactive == &destination->node) {
// The container has no children