[wiki] [sites] [dwm][PATCH][movethrow] make cursor follow windows || Randoragon
commit 602f3894011b362a620c383961f26da50775403b
Author: Randoragon <randoragongamedev_AT_gmail.com>
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
_AT_@ -42,7 +42,7 @@ index 4465af1..df1eb05 100644
typedef union {
int i;
-_AT_@ -1192,6 +1193,43 @@ movemouse(const Arg *arg)
+_AT_@ -1192,6 +1193,44 @@ movemouse(const Arg *arg)
}
}
_AT_@ -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 *
Received on Tue Jun 30 2020 - 13:55:09 CEST
This archive was generated by hypermail 2.3.0
: Tue Jun 30 2020 - 14:00:47 CEST