diff options
| author | Devin J. Pohly <djpohly@gmail.com> | |
|---|---|---|
| 2021-03-30 13:57:34 -0500 | ||
| committer | Devin J. Pohly <djpohly@gmail.com> | |
| 2021-03-30 13:57:34 -0500 | ||
| commit | 2a9404ac2a2e45b3b0a3ac22cd1f776219f8a321 (patch) | |
| tree | fbfab23907f79d142956e359e733a3bf3bb308ae /dwl.c | |
| parent | e73ea679f48b8f28334a372220b36b59265684dd (diff) | |
| parent | 3c83e0cfb8cfb20cab2775b8da0925fb26a35678 (diff) | |
| download | dwl-2a9404ac2a2e45b3b0a3ac22cd1f776219f8a321.tar.gz dwl-2a9404ac2a2e45b3b0a3ac22cd1f776219f8a321.tar.bz2 dwl-2a9404ac2a2e45b3b0a3ac22cd1f776219f8a321.zip | |
Merge branch 'main' into wlroots-next
@@ -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 */ |