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 /include/sway/tree | |
parent | 6f0bc469e9b99ea641fdf98805f29e8acd96894a (diff) |
Implement move to workspace on a floating container
Also adjusts container_floating_translate to not change the current
properties directly.
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/container.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 16a180f8..d82db89c 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -329,6 +329,14 @@ void container_floating_move_to(struct sway_container *con, double lx, double ly); /** + * Move a floating container to the center of the workspace. + */ +void container_floating_move_to_center(struct sway_container *con); + +void container_floating_move_to_container(struct sway_container *container, + struct sway_container *destination); + +/** * Mark a container as dirty if it isn't already. Dirty containers will be * included in the next transaction then unmarked as dirty. */ |