aboutsummaryrefslogtreecommitdiff
path: root/include/layout.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-28 15:27:08 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-28 15:27:08 -0400
commit87aa82800526ad9e9bc76e4c769061a3ef1e17e3 (patch)
treef1cc2f6f04aa021fa21ceaa4ab0753066f5ff239 /include/layout.h
parent9751fff5c51ba9e4d046e3fd3df5dd3f07ab069b (diff)
parent28c22c8f8044355ffe89328b1af75a7e36b8dfea (diff)
Merge pull request #146 from taiyu-len/movev2
Movev2
Diffstat (limited to 'include/layout.h')
-rw-r--r--include/layout.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/layout.h b/include/layout.h
index 2d2a1113..f462bdb3 100644
--- a/include/layout.h
+++ b/include/layout.h
@@ -37,10 +37,13 @@ swayc_t *replace_child(swayc_t *child, swayc_t *new_child);
// a sibling, or to a floating window, or NULL
swayc_t *remove_child(swayc_t *child);
-// 2 containers are swapped, they inherit eachothers geometry and focus
+// 2 containers are swapped, they inherit eachothers focus
void swap_container(swayc_t *a, swayc_t *b);
-void move_container(swayc_t* container,swayc_t* root,enum movement_direction direction);
+// 2 Containers geometry are swapped, used with `swap_container`
+void swap_geometry(swayc_t *a, swayc_t *b);
+
+void move_container(swayc_t* container, enum movement_direction direction);
void move_container_to(swayc_t* container, swayc_t* destination);
// Layout