commit 5341e034df75f387184f85cb6a5fc0c95faf537e
parent ef18745951873025ec7fc44bd6987c39c3bdd0d7
Author: Brian Ashworth <RedSoxFan@users.noreply.github.com>
Date: Wed, 28 Nov 2018 11:16:14 -0500
Merge pull request #3212 from martinetd/move_floating
move to workspace: fix moving floating container to non-empty workspace
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sway/commands/move.c b/sway/commands/move.c
@@ -216,6 +216,7 @@ static void container_move_to_container(struct sway_container *container,
return;
}
if (container_is_floating(container)) {
+ container_move_to_workspace(container, destination->workspace);
return;
}
struct sway_workspace *old_workspace = container->workspace;