~ruther/dwl

0d1ca4663ca62329e1e171053ceb35bbc71ec30a — Dima Krasner 2 years ago f6820a6
allow moveresize() while the left mouse button is pressed

Fixes: https://github.com/djpohly/dwl/issues/319
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 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))

Do not follow this link