dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 0d1ca4663ca62329e1e171053ceb35bbc71ec30a
parent f6820a6c29b6bcb9a14166793d7f1fba2f98444e
Author: Dima Krasner <dima@dimakrasner.com>
Date:   Sat,  8 Oct 2022 13:20:34 +0000

allow moveresize() while the left mouse button is pressed

Fixes: https://github.com/djpohly/dwl/issues/319

Diffstat:
Mdwl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwl.c b/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))