diff options
author | Zandr Martin <zandrmartin@gmail.com> | 2016-07-03 12:11:21 -0500 |
---|---|---|
committer | Zandr Martin <zandrmartin@gmail.com> | 2016-07-03 12:11:21 -0500 |
commit | d5e4fff34544deda97f9f7d26eb1cb391fcc86bf (patch) | |
tree | b053d7c2e9cc7651991aea1254a6f1f5232aea7c /include/resize.h | |
parent | match i3 syntax for `resize set` (diff) | |
download | sway-d5e4fff34544deda97f9f7d26eb1cb391fcc86bf.tar.gz sway-d5e4fff34544deda97f9f7d26eb1cb391fcc86bf.tar.zst sway-d5e4fff34544deda97f9f7d26eb1cb391fcc86bf.zip |
resize command updates (#713)
Diffstat (limited to 'include/resize.h')
-rw-r--r-- | include/resize.h | 10 |
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 | ||
5 | bool set_size_tiled(int amount, bool use_width); | 5 | enum resize_dim_types { |
6 | bool resize_tiled(int amount, bool use_width); | 6 | RESIZE_DIM_PX, |
7 | RESIZE_DIM_PPT, | ||
8 | RESIZE_DIM_DEFAULT, | ||
9 | }; | ||
10 | |||
11 | bool set_size(int dimension, bool use_width); | ||
12 | bool resize(int dimension, bool use_width, enum resize_dim_types dim_type); | ||
7 | 13 | ||
8 | #endif | 14 | #endif |