mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 14:42:29 +01:00
Alfredo's fix on a mag glass relate bug..
This commit is contained in:
@@ -689,12 +689,14 @@ destroyWindow(_Window *win)
|
|||||||
WMWindow *ptr;
|
WMWindow *ptr;
|
||||||
ptr = scr->windowList;
|
ptr = scr->windowList;
|
||||||
|
|
||||||
while (ptr->nextPtr) {
|
if (ptr) {
|
||||||
if (ptr->nextPtr==win) {
|
while (ptr->nextPtr) {
|
||||||
ptr->nextPtr = ptr->nextPtr->nextPtr;
|
if (ptr->nextPtr==win) {
|
||||||
break;
|
ptr->nextPtr = ptr->nextPtr->nextPtr;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
ptr = ptr->nextPtr;
|
||||||
}
|
}
|
||||||
ptr = ptr->nextPtr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user