Fix problem of ghost windows when clients disconnect while being dragged.

This commit is contained in:
Kris Maglione 2010-05-17 12:22:42 -04:00
parent 26bd6ca8f7
commit 3898849361

View File

@ -171,9 +171,8 @@ readmouse(Point *p, uint *button) {
XEvent ev;
for(;;) {
XMaskEvent(display, MouseMask|ExposureMask|StructureNotifyMask|PropertyChangeMask, &ev);
XMaskEvent(display, MouseMask|ExposureMask|PropertyChangeMask, &ev);
switch(ev.type) {
case ConfigureNotify:
case Expose:
case NoExpose:
case PropertyNotify: