diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-12 10:21:26 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-12 10:21:26 +0100 |
commit | dc9f62f39370455b217595a0fbd34b405585c45f (patch) | |
tree | b951652f466324e2d2ef916a7e34488aa53fe28f /event.c | |
parent | 7055315725c66eea7861137d9146d10d62d4cee1 (diff) | |
download | dwm-dc9f62f39370455b217595a0fbd34b405585c45f.tar.gz |
removing all EnterNotifys after resize
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 1 |
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: |