about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-14 15:15:15 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-14 15:15:15 +0100
commit43bb77a569843e637afcf16462f139e96f8220ae (patch)
tree17a56c307139efae1c224e0f51e68d7f083b4f7d /dwm.c
parente3da222c1e3bdd323a920b8e9765af23f19d80a2 (diff)
downloaddwm-43bb77a569843e637afcf16462f139e96f8220ae.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 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) {
id='n155' href='#n155'>155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216