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,6 +689,7 @@ destroyWindow(_Window *win)
|
|||||||
WMWindow *ptr;
|
WMWindow *ptr;
|
||||||
ptr = scr->windowList;
|
ptr = scr->windowList;
|
||||||
|
|
||||||
|
if (ptr) {
|
||||||
while (ptr->nextPtr) {
|
while (ptr->nextPtr) {
|
||||||
if (ptr->nextPtr==win) {
|
if (ptr->nextPtr==win) {
|
||||||
ptr->nextPtr = ptr->nextPtr->nextPtr;
|
ptr->nextPtr = ptr->nextPtr->nextPtr;
|
||||||
@@ -697,6 +698,7 @@ destroyWindow(_Window *win)
|
|||||||
ptr = ptr->nextPtr;
|
ptr = ptr->nextPtr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (win->title) {
|
if (win->title) {
|
||||||
free(win->title);
|
free(win->title);
|
||||||
|
|||||||
Reference in New Issue
Block a user