[hackers] [wmii] Fix problem of ghost windows when clients disconnect while being dragged. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Mon, 17 May 2010 16:29:32 +0000 (UTC)

changeset: 2606:a6aa02bc7a3b
user: Kris Maglione <kris_AT_suckless.org>
date: Mon May 17 12:22:42 2010 -0400
files: cmd/wmii/mouse.c
description:
Fix problem of ghost windows when clients disconnect while being dragged.

diff -r d58ce30328f9 -r a6aa02bc7a3b cmd/wmii/mouse.c
--- a/cmd/wmii/mouse.c Mon May 17 12:11:01 2010 -0400
+++ b/cmd/wmii/mouse.c Mon May 17 12:22:42 2010 -0400
@@ -171,9 +171,8 @@
         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:
Received on Mon May 17 2010 - 16:29:32 UTC

This archive was generated by hypermail 2.2.0 : Mon May 17 2010 - 16:36:04 UTC