From 4a8274e7b0a1a9768a00130c4c97904d3d09edee Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Tue, 21 Dec 2021 17:04:42 +0800 Subject: [PATCH] Pointer warps only on monitor change. --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 51049f6..f3ec1d7 100644 --- a/dwm.c +++ b/dwm.c @@ -893,7 +893,7 @@ focusstack(const Arg *arg) if (c) { focus(c); restack(selmon); - XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, c->w/2, c->h/2); + //XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, c->w/2, c->h/2); } }