summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {