aboutsummarylogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe2008-06-14 15:15:15 +0100
committerAnselm R Garbe2008-06-14 15:15:15 +0100
commit710cb4d41f197463ce34630712cd861d34b8bfaf (patch)
treea6726897f5f8160fda87108fb63af4d591ff6ec4 /dwm.c
parentc250ced81c2533f0db57edb08c4b38add38f440a (diff)
downloadaur-710cb4d41f197463ce34630712cd861d34b8bfaf.tar.gz
removed explicit warp in movemouse
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/dwm.c b/dwm.c
index 5f6ffe3d2b65..c992860d03ef 100644
--- a/dwm.c
+++ b/dwm.c
@@ -980,11 +980,6 @@ movemouse(const Arg *arg) {
None, cursor[CurMove], CurrentTime) != GrabSuccess)
return;
XQueryPointer(dpy, root, &dummy, &dummy, &x1, &y1, &di, &di, &dui);
- if(x1 < c->x || x1 > c->x + c->w || y1 < c->y || y1 > c->y + c->h) {
- XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, 0, 0);
- x1 = c->x + 1;
- y1 = c->y + 1;
- }
for(;;) {
XMaskEvent(dpy, MOUSEMASK|ExposureMask|SubstructureRedirectMask, &ev);
switch (ev.type) {