summaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-08-04 14:46:27 +1000
committerRyan Dwyer <[email protected]>2018-08-08 08:48:20 +1000
commit36281609ea882d4c0a2a10fc9e604eb1ec2e8951 (patch)
tree9d24fd3116da5feb8922ac041633d795d96e9596 /sway/tree/layout.c
parent6f0bc469e9b99ea641fdf98805f29e8acd96894a (diff)
Implement move to workspace on a floating container
Also adjusts container_floating_translate to not change the current properties directly.
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index 20815654..bdcd1a9b 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -151,7 +151,7 @@ void container_move_to(struct sway_container *container,
return;
}
if (container_is_floating(container)) {
- // TODO
+ container_floating_move_to_container(container, destination);
return;
}
struct sway_container *old_parent = container_remove_child(container);