diff options
author | Luminarys <kizunanohikari@gmail.com> | 2015-08-21 22:26:11 -0500 |
---|---|---|
committer | Luminarys <kizunanohikari@gmail.com> | 2015-08-21 22:26:11 -0500 |
commit | f6b16ca089753beb4f7425fce195321e3073fb02 (patch) | |
tree | 09c43c1ddba542b6c7e5c2718f706916df313b2d /sway/layout.c | |
parent | Altered resize command to prevent resizing past min h/w (diff) | |
download | sway-f6b16ca089753beb4f7425fce195321e3073fb02.tar.gz sway-f6b16ca089753beb4f7425fce195321e3073fb02.tar.zst sway-f6b16ca089753beb4f7425fce195321e3073fb02.zip |
Refactored resizing functions into resize.c
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c index 70d9eb21..18ecb1e7 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -10,6 +10,8 @@ | |||
10 | #include "focus.h" | 10 | #include "focus.h" |
11 | 11 | ||
12 | swayc_t root_container; | 12 | swayc_t root_container; |
13 | int min_sane_h = 60; | ||
14 | int min_sane_w = 100; | ||
13 | 15 | ||
14 | void init_layout(void) { | 16 | void init_layout(void) { |
15 | root_container.type = C_ROOT; | 17 | root_container.type = C_ROOT; |