aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-08-08 15:26:44 -0400
committerGitHub <noreply@github.com>2018-08-08 15:26:44 -0400
commit3c26536267e13859eb6088ce0192579f10ac871f (patch)
treea4676629358071b0f0748dde33a32d82c9a58175 /include/sway/tree/container.h
parent776b9b7e1fa72ebc4f7e79de280ea5dd9901787e (diff)
parente28101e6e1ed757fe8a7402c5123ee7e58546895 (diff)
Merge branch 'master' into master
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 44ff9f7d..4d0e6003 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -113,7 +113,7 @@ struct sway_container {
enum sway_container_type type;
enum sway_container_layout layout;
- enum sway_container_layout prev_layout;
+ enum sway_container_layout prev_split_layout;
bool is_sticky;
@@ -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.
*/