From 2543834172d6510b4cb61fdbc412cffa349b2220 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Thu, 29 Nov 2018 00:07:57 +0900 Subject: move to workspace: fix moving floating container to non-empty workspace moving a container to a non-empty workspace will find a container to move to in the destination workspace and call container_move_to_container, which must not just skip floating containers --- sway/commands/move.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway') diff --git a/sway/commands/move.c b/sway/commands/move.c index 240b9f04..4dc547db 100644 --- 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; -- cgit v1.2.3