dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit dc9f62f39370455b217595a0fbd34b405585c45f
parent 7055315725c66eea7861137d9146d10d62d4cee1
Author: Anselm R. Garbe <arg@suckless.org>
Date:   Mon, 12 Feb 2007 10:21:26 +0100

removing all EnterNotifys after resize
Diffstat:
Mevent.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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: