sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 602f3894011b362a620c383961f26da50775403b
parent fa0a27c1c7d6bb44aa27d2ba9a36420e58dbd7ff
Author: Randoragon <randoragongamedev@gmail.com>
Date:   Tue, 30 Jun 2020 13:52:49 +0200

[dwm][PATCH][movethrow] make cursor follow windows

Diffstat:
Mdwm.suckless.org/patches/movethrow/dwm-movethrow-6.2.diff | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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 *