mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 03:06:30 +00:00
allow moveresize() while the left mouse button is pressed
Fixes: https://github.com/djpohly/dwl/issues/319
This commit is contained in:
parent
f6820a6c29
commit
0d1ca4663c
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -1569,7 +1569,7 @@ motionrelative(struct wl_listener *listener, void *data)
|
|||
void
|
||||
moveresize(const Arg *arg)
|
||||
{
|
||||
if (cursor_mode != CurNormal)
|
||||
if (cursor_mode != CurNormal && cursor_mode != CurPressed)
|
||||
return;
|
||||
xytonode(cursor->x, cursor->y, NULL, &grabc, NULL, NULL, NULL);
|
||||
if (!grabc || client_is_unmanaged(grabc))
|
||||
|
|
Loading…
Reference in a new issue