From 389884936111ee3eb6d908043d81cc2d1dd2857c Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 17 May 2010 12:22:42 -0400 Subject: [PATCH] Fix problem of ghost windows when clients disconnect while being dragged. --- cmd/wmii/mouse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/wmii/mouse.c b/cmd/wmii/mouse.c index 948adee1..79e5ca38 100644 --- a/cmd/wmii/mouse.c +++ b/cmd/wmii/mouse.c @@ -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: