diff options
| author | Anselm R Garbe <[email protected]> | 2008-06-14 15:15:15 +0100 |
|---|---|---|
| committer | Anselm R Garbe <[email protected]> | 2008-06-14 15:15:15 +0100 |
| commit | 43bb77a569843e637afcf16462f139e96f8220ae (patch) | |
| tree | 17a56c307139efae1c224e0f51e68d7f083b4f7d | |
| parent | removed scroll-wheel based focussing on window title clicks (diff) | |
| download | dwm-43bb77a569843e637afcf16462f139e96f8220ae.tar.gz dwm-43bb77a569843e637afcf16462f139e96f8220ae.tar.bz2 dwm-43bb77a569843e637afcf16462f139e96f8220ae.zip | |
removed explicit warp in movemouse
| -rw-r--r-- | dwm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dwm.c b/dwm.c index 5f6ffe3..c992860 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) { |