aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-11-28 11:16:14 -0500
committerGitHub <noreply@github.com>2018-11-28 11:16:14 -0500
commit5341e034df75f387184f85cb6a5fc0c95faf537e (patch)
treef50c34d2b2f195bfca4aa5f160685b306884ad64 /sway
parentef18745951873025ec7fc44bd6987c39c3bdd0d7 (diff)
parent2543834172d6510b4cb61fdbc412cffa349b2220 (diff)
Merge pull request #3212 from martinetd/move_floating
move to workspace: fix moving floating container to non-empty workspace
Diffstat (limited to 'sway')
-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;