diff options
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 16a180f8..4d0e6003 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -323,12 +323,23 @@ void container_floating_translate(struct sway_container *con, double x_amount, double y_amount); /** + * Choose an output for the floating container's new position. + */ +struct sway_container *container_floating_find_output( + struct sway_container *con); + +/** * Move a floating container to a new layout-local position. */ 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); + +/** * Mark a container as dirty if it isn't already. Dirty containers will be * included in the next transaction then unmarked as dirty. */ |