removing all EnterNotifys after resize

This commit is contained in:
Anselm R. Garbe 2007-02-12 10:21:26 +01:00
parent 7055315725
commit dc9f62f393
1 changed files with 1 additions and 0 deletions

View File

@ -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: