summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-12 10:21:26 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-12 10:21:26 +0100
commitdc9f62f39370455b217595a0fbd34b405585c45f (patch)
treeb951652f466324e2d2ef916a7e34488aa53fe28f /event.c
parent7055315725c66eea7861137d9146d10d62d4cee1 (diff)
removing all EnterNotifys after resize
Diffstat (limited to 'event.c')
-rw-r--r--event.c1
1 files changed, 1 insertions, 0 deletions
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: