summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-05-13 00:01:56 (GMT)
committerhobbs <hobbs>2000-05-13 00:01:56 (GMT)
commite72f171483d7267e1822e7cc24fd2518db690814 (patch)
tree9542db0bcd94661b389997b8b6a0310af74e19e2
parent1ea53a2f8a8455b3b74dc1c3b5369a7e485aa734 (diff)
downloadtk-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]
-rw-r--r--win/tkWinWm.c5
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) {