mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05: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
|
|
@ -41,7 +41,7 @@ void release_key(keycode key) {
|
|||
}
|
||||
}
|
||||
|
||||
struct pointer_state pointer_state = {0, 0, {0, 0}, {0, 0, 0, 0}};
|
||||
struct pointer_state pointer_state = {0, 0, {0, 0}, {0}, {0, 0, 0, 0}};
|
||||
|
||||
static struct wlc_geometry saved_floating;
|
||||
|
||||
|
|
@ -65,4 +65,3 @@ void reset_floating(swayc_t *view) {
|
|||
pointer_state.floating = (struct pointer_floating){0,0};
|
||||
pointer_state.lock = (struct pointer_lock){0,0,0,0};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue