diff options
author | hobbs <hobbs> | 2000-05-13 00:01:56 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-05-13 00:01:56 (GMT) |
commit | e72f171483d7267e1822e7cc24fd2518db690814 (patch) | |
tree | 9542db0bcd94661b389997b8b6a0310af74e19e2 /win/tkWinWm.c | |
parent | 1ea53a2f8a8455b3b74dc1c3b5369a7e485aa734 (diff) | |
download | tk-e72f171483d7267e1822e7cc24fd2518db690814.zip tk-e72f171483d7267e1822e7cc24fd2518db690814.tar.gz tk-e72f171483d7267e1822e7cc24fd2518db690814.tar.bz2 |
* win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOW
to flag check to prevent timing related core dump. [Bug: 5438]
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index ff29259..9049624 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinWm.c,v 1.23 2000/05/10 00:09:41 ericm Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.24 2000/05/13 00:01:56 hobbs Exp $ */ #include "tkWinInt.h" @@ -4558,7 +4558,8 @@ RaiseWinWhenIdle(clientData) { register TkWindow *winPtr = (TkWindow *) clientData; - if ((winPtr == NULL) || (winPtr->flags & TK_ALREADY_DEAD)) { + if ((winPtr == NULL) + || (winPtr->flags & (TK_ALREADY_DEAD|TK_DONT_DESTROY_WINDOW))) { return; } if (winPtr->wmInfoPtr->flags & WM_UPDATE_PENDING) { |