summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-11-29 00:07:57 +0900
committerFurkan Sahin <furkan-dev@proton.me>2018-11-29 00:07:57 +0900
commit3014cb82f1f198ecd107c65a4b2e31c6c27f0d66 (patch)
tree33bf3e61ee74b9ae822ddcce14da1cc24e4962cb
parentfb9e49379c71b8b5b74efbea6db92b0bf27c30a7 (diff)
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
-rw-r--r--sway/commands/move.c1
1 files changed, 1 insertions, 0 deletions
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;