From ae535396b026da4cda1a2dcfb1658184a70396d5 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Tue, 11 Sep 2018 16:45:42 +0100 Subject: [PATCH] commands: when moving container, remove its gaps --- sway/commands/move.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/commands/move.c b/sway/commands/move.c index 3c8f1dcfa..00bd8acd7 100644 --- a/sway/commands/move.c +++ b/sway/commands/move.c @@ -231,6 +231,7 @@ static void container_move_to_container(struct sway_container *container, struct sway_workspace *old_workspace = container->workspace; container_detach(container); + container_remove_gaps(container); container->width = container->height = 0; container->saved_width = container->saved_height = 0;