tremoved explicit warp in movemouse - dwm - [fork] customized build of dwm, the… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 43bb77a569843e637afcf16462f139e96f8220ae | |
parent e3da222c1e3bdd323a920b8e9765af23f19d80a2 | |
Author: Anselm R Garbe <[email protected]> | |
Date: Sat, 14 Jun 2008 15:15:15 +0100 | |
removed explicit warp in movemouse | |
Diffstat: | |
M dwm.c | 5 ----- | |
1 file changed, 0 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -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|SubstructureRedirectMas… | |
switch (ev.type) { |