summaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-08-08 08:13:22 -0400
committerGitHub <[email protected]>2018-08-08 08:13:22 -0400
commitc8a8216629cd56a510255f6ead3eaba9508b6544 (patch)
tree2f70bd11f025791a2970850771baa2062413f00c /include/sway/tree/container.h
parent6f0bc469e9b99ea641fdf98805f29e8acd96894a (diff)
parent5653fc754b09ae5344f42f9e3df71cd4420b7d61 (diff)
Merge pull request #2420 from RyanDwyer/floating-move-to-workspace
Implement move to workspace on a floating container
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h11
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.
*/