commit 602f3894011b362a620c383961f26da50775403b
Author: Randoragon <[email protected]>
Date: Tue Jun 30 13:52:49 2020 +0200
[dwm][PATCH][movethrow] make cursor follow windows
diff --git a/dwm.suckless.org/patches/movethrow/dwm-movethrow-6.2.diff
b/dwm.suckless.org/patches/movethrow/dwm-movethrow-6.2.diff
index b8b40e63..07cfeb62 100644
--- a/dwm.suckless.org/patches/movethrow/dwm-movethrow-6.2.diff
+++ b/dwm.suckless.org/patches/movethrow/dwm-movethrow-6.2.diff
@@ -42,7 +42,7 @@ index 4465af1..df1eb05 100644
typedef union {
int i;
-@@ -1192,6 +1193,43 @@ movemouse(const Arg *arg)
+@@ -1192,6 +1193,44 @@ movemouse(const Arg *arg)
}
}
@@ -81,6 +81,7 @@ index 4465af1..df1eb05 100644
+ return;
+ }
+ resize(c, nx, ny, nw, nh, True);
++ XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, nw/2, nh/2);
+}
+
Client *