about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
authorAcid Bong <acid-bong@cock.lt>2022-10-21 17:11:51 +0300
committerAcid Bong <acid-bong@cock.lt>2022-10-21 17:11:51 +0300
commitffb757a532d79ac209ade8e6c38952514edeac7b (patch)
tree08cc0b4ecbcce233eb918bad3641f00b828159a0 /dwm.c
parentc1768ebff53ce78e91c7e962a03368a61c3ecf1f (diff)
downloaddwm-ffb757a532d79ac209ade8e6c38952514edeac7b.tar.gz
unpatch: cursorwarp (my window borders are thick enough)
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/dwm.c b/dwm.c
index a362977..0fae8e5 100644
--- a/dwm.c
+++ b/dwm.c
@@ -916,8 +916,6 @@ focusmon(const Arg *arg)
 	unfocus(selmon->sel, 0);
 	selmon = m;
 	focus(NULL);
-	if (selmon->sel)
-		XWarpPointer(dpy, None, selmon->sel->win, 0, 0, 0, 0, selmon->sel->w/2, selmon->sel->h/2);
 }
 
 void
@@ -943,7 +941,6 @@ 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);
 	}
 }