aboutsummaryrefslogtreecommitdiff
path: root/include/resize.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-22 09:03:43 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-22 09:03:43 -0400
commitade634bb04027a6ea5f053330e044638f135c147 (patch)
treeb446198afb8d5ea2d9e32e5953c9e1d4cf445485 /include/resize.h
parent246aee9a97bec467c8c9fa8021caebac7ea15416 (diff)
parentc0b68aa6fca132c431a7ed1aaa59444bd2c2657d (diff)
downloadsway-ade634bb04027a6ea5f053330e044638f135c147.tar.xz
Merge pull request #118 from Luminarys/master
Refactored resizing functions into resize.c
Diffstat (limited to 'include/resize.h')
-rw-r--r--include/resize.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/resize.h b/include/resize.h
new file mode 100644
index 00000000..4ace1815
--- /dev/null
+++ b/include/resize.h
@@ -0,0 +1,8 @@
+#ifndef _SWAY_RESIZE_H
+#define _SWAY_RESIZE_H
+
+bool mouse_resize_tiled(struct wlc_origin prev_pos);
+bool resize_floating(struct wlc_origin prev_pos);
+bool resize_tiled(int amount, bool use_width);
+
+#endif