mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +03:00
Fix problem of ghost windows when clients disconnect while being dragged.
This commit is contained in:
parent
26bd6ca8f7
commit
3898849361
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user