diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-22 18:01:38 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-22 18:01:38 -0700 |
commit | e139de0857a1ba015fa324dcc662a39eca88761b (patch) | |
tree | 1b3406300ed364e2d0449c2e08ab4c39a654ac6c /include/layout.h | |
parent | Whoops (diff) | |
download | sway-e139de0857a1ba015fa324dcc662a39eca88761b.tar.gz sway-e139de0857a1ba015fa324dcc662a39eca88761b.tar.zst sway-e139de0857a1ba015fa324dcc662a39eca88761b.zip |
floating/tiling move + floating resize cleaned and fixed
Diffstat (limited to 'include/layout.h')
-rw-r--r-- | include/layout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/layout.h b/include/layout.h index f8aebe0a..8f269607 100644 --- a/include/layout.h +++ b/include/layout.h | |||
@@ -19,10 +19,12 @@ void add_floating(swayc_t *ws, swayc_t *child); | |||
19 | swayc_t *add_sibling(swayc_t *sibling, swayc_t *child); | 19 | swayc_t *add_sibling(swayc_t *sibling, swayc_t *child); |
20 | swayc_t *replace_child(swayc_t *child, swayc_t *new_child); | 20 | swayc_t *replace_child(swayc_t *child, swayc_t *new_child); |
21 | swayc_t *remove_child(swayc_t *child); | 21 | swayc_t *remove_child(swayc_t *child); |
22 | void swap_container(swayc_t *a, swayc_t *b); | ||
22 | 23 | ||
23 | void move_container(swayc_t* container,swayc_t* root,enum movement_direction direction); | 24 | void move_container(swayc_t* container,swayc_t* root,enum movement_direction direction); |
24 | 25 | ||
25 | // Layout | 26 | // Layout |
27 | void update_geometry(swayc_t *view); | ||
26 | void arrange_windows(swayc_t *container, double width, double height); | 28 | void arrange_windows(swayc_t *container, double width, double height); |
27 | 29 | ||
28 | swayc_t *get_focused_container(swayc_t *parent); | 30 | swayc_t *get_focused_container(swayc_t *parent); |