aboutsummaryrefslogtreecommitdiff
path: root/include/layout.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-21 07:12:05 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-21 07:12:05 -0400
commit464b49eda26f6a518bda39a8d07e1d9b0f498897 (patch)
tree7d0c55221b3028c2843da88b41029abac864b4a5 /include/layout.h
parentcc5713aee6525fd1783c1a9280079f7e9abcd882 (diff)
parent96ab21b2766096bdb42d79a0169d42b9ff00e2fb (diff)
Merge pull request #101 from Luminarys/master
Added in basic resizing command.
Diffstat (limited to 'include/layout.h')
-rw-r--r--include/layout.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/layout.h b/include/layout.h
index 75e72d2f..20044b95 100644
--- a/include/layout.h
+++ b/include/layout.h
@@ -18,7 +18,7 @@ swayc_t *replace_child(swayc_t *child, swayc_t *new_child);
swayc_t *remove_child(swayc_t *child);
// Layout
-void arrange_windows(swayc_t *container, int width, int height);
+void arrange_windows(swayc_t *container, double width, double height);
// Focus
void unfocus_all(swayc_t *container);
@@ -29,4 +29,6 @@ swayc_t *get_focused_container(swayc_t *parent);
swayc_t *get_swayc_for_handle(wlc_handle handle, swayc_t *parent);
swayc_t *get_swayc_in_direction(swayc_t *container, enum movement_direction dir);
+void recursive_resize(swayc_t *container, double amount, enum wlc_resize_edge edge);
+
#endif