diff options
author | Dima Krasner <dima@dimakrasner.com> | 2022-10-08 13:20:34 +0000 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-10-08 12:31:29 -0500 |
commit | 0d1ca4663ca62329e1e171053ceb35bbc71ec30a (patch) | |
tree | 1f8c8f3e3f7b3444a106b7410c150c4a7e2e4b98 | |
parent | f6820a6c29b6bcb9a14166793d7f1fba2f98444e (diff) |
allow moveresize() while the left mouse button is pressed
Fixes: https://github.com/djpohly/dwl/issues/319
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |