removed explicit warp in movemouse 43bb77a5
Anselm R Garbe · 2008-06-14 15:15 1 file(s) · +0 −5
dwm.c +0 −5
980 980
	None, cursor[CurMove], CurrentTime) != GrabSuccess)
981 981
		return;
982 982
	XQueryPointer(dpy, root, &dummy, &dummy, &x1, &y1, &di, &di, &dui);
983 -
	if(x1 < c->x || x1 > c->x + c->w || y1 < c->y || y1 > c->y + c->h) {
984 -
		XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, 0, 0);
985 -
		x1 = c->x + 1;
986 -
		y1 = c->y + 1;
987 -
	}
988 983
	for(;;) {
989 984
		XMaskEvent(dpy, MOUSEMASK|ExposureMask|SubstructureRedirectMask, &ev);
990 985
		switch (ev.type) {