diff options
author | Luminarys <kizunanohikari@gmail.com> | 2015-08-21 00:17:26 -0500 |
---|---|---|
committer | Luminarys <kizunanohikari@gmail.com> | 2015-08-21 00:17:26 -0500 |
commit | 461da7f87fa970ce4ba1a124e6197554c85d42e5 (patch) | |
tree | 1cd3b9e0ba8a5da11bc14d76bf0f48b4514b9f34 /include | |
parent | f589731f2912660bab6fdffc14ddcdbac3edd41c (diff) | |
download | sway-461da7f87fa970ce4ba1a124e6197554c85d42e5.tar.xz |
Added in bspwm like mouse resizing
Diffstat (limited to 'include')
-rw-r--r-- | include/input_state.h | 3 | ||||
-rw-r--r-- | include/layout.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/input_state.h b/include/input_state.h index 782b4b19..711ad633 100644 --- a/include/input_state.h +++ b/include/input_state.h @@ -34,6 +34,9 @@ extern struct pointer_state { bool drag; bool resize; } floating; + struct pointer_tiling { + bool resize; + } tiling; struct pointer_lock { bool left; bool right; diff --git a/include/layout.h b/include/layout.h index 566e3246..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); |