From dc9f62f39370455b217595a0fbd34b405585c45f Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Mon, 12 Feb 2007 10:21:26 +0100 Subject: removing all EnterNotifys after resize --- event.c | 1 + 1 file changed, 1 insertion(+) diff --git a/event.c b/event.c index cfe2d2a..938655d 100644 --- a/event.c +++ b/event.c @@ -85,6 +85,7 @@ resizemouse(Client *c) { XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, c->w + c->border - 1, c->h + c->border - 1); XUngrabPointer(dpy, CurrentTime); + while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); return; case ConfigureRequest: case Expose: -- cgit v1.2.3