summaryrefslogtreecommitdiffstats
path: root/generic/tkBusy.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-03-02 02:41:54 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-03-02 02:41:54 (GMT)
commit570a35541383a4b00d666486a2b5782e1eee63a0 (patch)
treeb6b41d27bf8eb02b710ed64c5cb095cee430f8bc /generic/tkBusy.c
parent66735e827bb722108de5e1a656cbe9eaace0febf (diff)
downloadtk-570a35541383a4b00d666486a2b5782e1eee63a0.zip
tk-570a35541383a4b00d666486a2b5782e1eee63a0.tar.gz
tk-570a35541383a4b00d666486a2b5782e1eee63a0.tar.bz2
[450bb0ecad] Proposed fix for [tk busy] corruption in Aqua Tk.
Diffstat (limited to 'generic/tkBusy.c')
-rw-r--r--generic/tkBusy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tkBusy.c b/generic/tkBusy.c
index 65248a2..b36d453 100644
--- a/generic/tkBusy.c
+++ b/generic/tkBusy.c
@@ -433,6 +433,10 @@ MakeTransparentWindowExist(
TkpMakeTransparentWindowExist(tkwin, parent);
+ if (winPtr->window == None) {
+ return; /* Platform didn't make Window. */
+ }
+
dispPtr = winPtr->dispPtr;
hPtr = Tcl_CreateHashEntry(&dispPtr->winTable, (char *) winPtr->window,
&notUsed);