commit 389884936111ee3eb6d908043d81cc2d1dd2857c
parent 26bd6ca8f7438d854bccd5f1db38b3ec304a00d8
Author: Kris Maglione <kris@suckless.org>
Date: Mon, 17 May 2010 12:22:42 -0400
Fix problem of ghost windows when clients disconnect while being dragged.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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: