wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 51c14092b707eefe1d49ccd8af444da109341b93
parent 585e0a5f17fb81aebb64f94a587ee611f73be16d
Author: Kris Maglione <jg@suckless.org>
Date:   Thu,  8 Feb 2007 12:55:42 -0500

Fix a bug in mouse moves.


Diffstat:
mouse.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/mouse.c b/mouse.c @@ -358,6 +358,7 @@ do_mouse_resize(Client *c, BlitzAlign align) { 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);