diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-04 14:46:27 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-08 08:48:20 +1000 |
commit | 36281609ea882d4c0a2a10fc9e604eb1ec2e8951 (patch) | |
tree | 9d24fd3116da5feb8922ac041633d795d96e9596 /sway/tree/layout.c | |
parent | Merge pull request #2432 from RyanDwyer/fix-move-crash (diff) | |
download | sway-36281609ea882d4c0a2a10fc9e604eb1ec2e8951.tar.gz sway-36281609ea882d4c0a2a10fc9e604eb1ec2e8951.tar.zst sway-36281609ea882d4c0a2a10fc9e604eb1ec2e8951.zip |
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.c | 2 |
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, | |||
151 | return; | 151 | return; |
152 | } | 152 | } |
153 | if (container_is_floating(container)) { | 153 | if (container_is_floating(container)) { |
154 | // TODO | 154 | container_floating_move_to_container(container, destination); |
155 | return; | 155 | return; |
156 | } | 156 | } |
157 | struct sway_container *old_parent = container_remove_child(container); | 157 | struct sway_container *old_parent = container_remove_child(container); |