commit 2a9404ac2a2e45b3b0a3ac22cd1f776219f8a321 parent e73ea679f48b8f28334a372220b36b59265684dd Author: Devin J. Pohly <djpohly@gmail.com> Date: Tue, 30 Mar 2021 13:57:34 -0500 Merge branch 'main' into wlroots-next Diffstat:
| M | dwl.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dwl.c b/dwl.c @@ -1454,8 +1454,7 @@ motionrelative(struct wl_listener *listener, void *data) void moveresize(const Arg *arg) { - grabc = xytoclient(cursor->x, cursor->y); - if (!grabc) + if (cursor_mode != CurNormal || !(grabc = xytoclient(cursor->x, cursor->y))) return; /* Float the window and tell motionnotify to grab it */