mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Added in bspwm like mouse resizing
This commit is contained in:
parent
f589731f29
commit
461da7f87f
6 changed files with 221 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue