aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-11 19:19:17 -0400
committerGitHub <noreply@github.com>2018-09-11 19:19:17 -0400
commit4fbec701fcf1505d1c13d7f5d8b55264b8f07e4e (patch)
tree82daa71d644f15c2e1e58ca9bdb2d4e1a75d3be9 /include/sway/tree/container.h
parent822b45f4836c9a22af5a283e2aea6e4ecd514c22 (diff)
parent679c7eb08c16daea8e3e1cff7bcf179e116d0e8e (diff)
Merge pull request #2618 from RyanDwyer/tiling-drag
Implement tiling drag
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 2735daa3..5e281a2f 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -279,8 +279,11 @@ void container_add_child(struct sway_container *parent,
void container_insert_child(struct sway_container *parent,
struct sway_container *child, int i);
+/**
+ * Side should be 0 to add before, or 1 to add after.
+ */
void container_add_sibling(struct sway_container *parent,
- struct sway_container *child);
+ struct sway_container *child, bool after);
void container_detach(struct sway_container *child);