Fri Nov 19 16:34:16 EST 1999

(Christian)

Fixed a segfault that Paul Radford <prbluebottle@netscape.net>
reported: "Minimize a window into an iconbox, close the icon-
box and minimize the app again". I could not exactly reproduce
this because I already got segfaults when I _entered_ the window
that is uniconified when the iconbox is closed.

In any case, there were strange things going on with
mode.focuswin, because FocusToEWin(NULL) returns immediately
in clickmode ... hope the whole thing is history now.


SVN revision: 1337
This commit is contained in:
Christian Kreibich 1999-11-19 19:50:49 +00:00
parent 99116bd5ff
commit d05244742f
2 changed files with 19 additions and 2 deletions

View File

@ -3965,3 +3965,18 @@ Mon Nov 15 14:53:40 PST 1999
fixed an uninitialized memory check in menus.c (reported by Alan Stange - this
man is getting it on with debuggers - I will put his name in the credits
sometime this week for 0.16.3)
-------------------------------------------------------------------------------
Fri Nov 19 16:34:16 EST 1999
(Christian)
Fixed a segfault that Paul Radford <prbluebottle@netscape.net>
reported: "Minimize a window into an iconbox, close the icon-
box and minimize the app again". I could not exactly reproduce
this because I already got segfaults when I _entered_ the window
that is uniconified when the iconbox is closed.
In any case, there were strange things going on with
mode.focuswin, because FocusToEWin(NULL) returns immediately
in clickmode ... hope the whole thing is history now.

View File

@ -1596,6 +1596,10 @@ FreeEwin(EWin * ewin)
HideMenuMasker();
}
}
if (ewin == mode.focuswin)
FocusToNone();
if (ewin->pager)
PagerKill(ewin->pager);
if (ewin->ibox)
@ -1608,8 +1612,6 @@ FreeEwin(EWin * ewin)
if (mode.kde_support)
KDE_RemoveWindow(ewin);
if (ewin == mode.focuswin)
FocusToEWin(NULL);
if (ewin->client.transient)
{
ewin2 = FindItem(NULL, ewin->client.transient_for, LIST_FINDBY_ID,