aboutsummaryrefslogtreecommitdiffstats
path: root/include/resize.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-07-03 21:53:28 -0400
committerLibravatar GitHub <noreply@github.com>2016-07-03 21:53:28 -0400
commitb658b464ece28a21017e39f383bb4487a40816f9 (patch)
tree71f4098558a28738e81ed7f71137da889c24c808 /include/resize.h
parentSpawn windows as floating if they have a parent (diff)
parenttypo in focus.h (diff)
downloadsway-b658b464ece28a21017e39f383bb4487a40816f9.tar.gz
sway-b658b464ece28a21017e39f383bb4487a40816f9.tar.zst
sway-b658b464ece28a21017e39f383bb4487a40816f9.zip
Merge pull request #732 from zandrmartin/set-size-command
Set size command
Diffstat (limited to 'include/resize.h')
-rw-r--r--include/resize.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/resize.h b/include/resize.h
index d49cc74a..0d382994 100644
--- a/include/resize.h
+++ b/include/resize.h
@@ -2,7 +2,13 @@
2#define _SWAY_RESIZE_H 2#define _SWAY_RESIZE_H
3#include <stdbool.h> 3#include <stdbool.h>
4 4
5bool set_size_tiled(int amount, bool use_width); 5enum resize_dim_types {
6bool resize_tiled(int amount, bool use_width); 6 RESIZE_DIM_PX,
7 RESIZE_DIM_PPT,
8 RESIZE_DIM_DEFAULT,
9};
10
11bool set_size(int dimension, bool use_width);
12bool resize(int dimension, bool use_width, enum resize_dim_types dim_type);
7 13
8#endif 14#endif