removing all EnterNotifys after resize
This commit is contained in:
parent
7055315725
commit
dc9f62f393
1
event.c
1
event.c
|
@ -85,6 +85,7 @@ resizemouse(Client *c) {
|
||||||
XWarpPointer(dpy, None, c->win, 0, 0, 0, 0,
|
XWarpPointer(dpy, None, c->win, 0, 0, 0, 0,
|
||||||
c->w + c->border - 1, c->h + c->border - 1);
|
c->w + c->border - 1, c->h + c->border - 1);
|
||||||
XUngrabPointer(dpy, CurrentTime);
|
XUngrabPointer(dpy, CurrentTime);
|
||||||
|
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
|
||||||
return;
|
return;
|
||||||
case ConfigureRequest:
|
case ConfigureRequest:
|
||||||
case Expose:
|
case Expose:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user