changeset: 1786:f3987b8c24b1
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Feb 08 12:55:42 2007 -0500
summary: Fix a bug in mouse moves.
diff -r fbddc8af68a4 -r f3987b8c24b1 mouse.c
--- a/mouse.c Thu Feb 08 12:29:26 2007 -0500
+++ b/mouse.c Thu Feb 08 12:55:42 2007 -0500
@@ -358,6 +358,7 @@ do_mouse_resize(Client *c, BlitzAlign al
hr_x = screen->rect.width / 2;
hr_y = screen->rect.height / 2;
XWarpPointer(blz.dpy, None, blz.root, 0, 0, 0, 0, hr_x, hr_y);
+ while(XCheckMaskEvent(blz.dpy, MouseMask, &ev));
}
XQueryPointer(blz.dpy, blz.root, &dummy, &dummy, &i, &i, &pt_x, &pt_y, &di);
Received on Thu Feb 08 2007 - 18:59:42 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:00 UTC