summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authorculler <culler>2021-05-23 22:36:21 (GMT)
committerculler <culler>2021-05-23 22:36:21 (GMT)
commitf828e2a02cc73ca7d9ee7ed8383568d3affff53e (patch)
tree3bab7e6b90d59ef366c1e1c51380845452fd71c1 /macosx/tkMacOSXWm.c
parent767b4e9262bdb91b097b971637d3899cf8a23528 (diff)
downloadtk-f828e2a02cc73ca7d9ee7ed8383568d3affff53e.zip
tk-f828e2a02cc73ca7d9ee7ed8383568d3affff53e.tar.gz
tk-f828e2a02cc73ca7d9ee7ed8383568d3affff53e.tar.bz2
Fix aqua crash in wm-transient-7.5
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 4b08fc5..25bba72 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -3734,6 +3734,7 @@ WmTransientCmd(
if (TkGetWindowFromObj(interp, tkwin, objv[3], &container) != TCL_OK) {
return TCL_ERROR;
}
+ RemoveTransient(winPtr);
containerPtr = (TkWindow*) container;
while (!Tk_TopWinHierarchy(containerPtr)) {
/*