mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-04 23:35:58 +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;
|
||||
ptr = scr->windowList;
|
||||
|
||||
while (ptr->nextPtr) {
|
||||
if (ptr->nextPtr==win) {
|
||||
ptr->nextPtr = ptr->nextPtr->nextPtr;
|
||||
break;
|
||||
if (ptr) {
|
||||
while (ptr->nextPtr) {
|
||||
if (ptr->nextPtr==win) {
|
||||
ptr->nextPtr = ptr->nextPtr->nextPtr;
|
||||
break;
|
||||
}
|
||||
ptr = ptr->nextPtr;
|
||||
}
|
||||
ptr = ptr->nextPtr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user