diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-28 11:03:10 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-28 11:03:10 -0700 |
commit | 1820b3f0bb97406aefb51ef44f2c60b4f4fa5165 (patch) | |
tree | 30e7ed34d3bb3aa5df1aba0797ea7d2b54dbcdb1 /include | |
parent | forgot visibility of floating containers (diff) | |
download | sway-1820b3f0bb97406aefb51ef44f2c60b4f4fa5165.tar.gz sway-1820b3f0bb97406aefb51ef44f2c60b4f4fa5165.tar.zst sway-1820b3f0bb97406aefb51ef44f2c60b4f4fa5165.zip |
move function redone
Diffstat (limited to 'include')
-rw-r--r-- | include/layout.h | 7 |
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); | |||
37 | // a sibling, or to a floating window, or NULL | 37 | // a sibling, or to a floating window, or NULL |
38 | swayc_t *remove_child(swayc_t *child); | 38 | swayc_t *remove_child(swayc_t *child); |
39 | 39 | ||
40 | // 2 containers are swapped, they inherit eachothers geometry and focus | 40 | // 2 containers are swapped, they inherit eachothers focus |
41 | void swap_container(swayc_t *a, swayc_t *b); | 41 | void swap_container(swayc_t *a, swayc_t *b); |
42 | 42 | ||
43 | void move_container(swayc_t* container,swayc_t* root,enum movement_direction direction); | 43 | // 2 Containers geometry are swapped, used with `swap_container` |
44 | void swap_geometry(swayc_t *a, swayc_t *b); | ||
45 | |||
46 | void move_container(swayc_t* container, enum movement_direction direction); | ||
44 | void move_container_to(swayc_t* container, swayc_t* destination); | 47 | void move_container_to(swayc_t* container, swayc_t* destination); |
45 | 48 | ||
46 | // Layout | 49 | // Layout |