Added in bspwm like mouse resizing

This commit is contained in:
Luminarys 2015-08-21 00:17:26 -05:00
parent f589731f29
commit 461da7f87f
6 changed files with 221 additions and 15 deletions

View file

@ -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;

View file

@ -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);