Merge branch 'main' into wlroots-next

main
Devin J. Pohly 2021-03-30 13:57:34 -05:00
commit 2a9404ac2a
1 changed files with 1 additions and 2 deletions

3
dwl.c
View File

@ -1454,8 +1454,7 @@ motionrelative(struct wl_listener *listener, void *data)
void void
moveresize(const Arg *arg) moveresize(const Arg *arg)
{ {
grabc = xytoclient(cursor->x, cursor->y); if (cursor_mode != CurNormal || !(grabc = xytoclient(cursor->x, cursor->y)))
if (!grabc)
return; return;
/* Float the window and tell motionnotify to grab it */ /* Float the window and tell motionnotify to grab it */