about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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: