diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-03-06 02:44:38 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-03-06 02:44:38 (GMT) |
commit | 7c79a335a5383d7bfd8f6a42f36f5fbd5380e944 (patch) | |
tree | 036d6f7a0ba3b3d52b69153eb569af27ad0eebec /macosx | |
parent | 7ec6687e43e5585e8542a975da8b0fe768cd2b3f (diff) | |
download | tk-7c79a335a5383d7bfd8f6a42f36f5fbd5380e944.zip tk-7c79a335a5383d7bfd8f6a42f36f5fbd5380e944.tar.gz tk-7c79a335a5383d7bfd8f6a42f36f5fbd5380e944.tar.bz2 |
Fix for crash in deleted toplevels when not removed from Cocoa window menu; thanks to Marc Culler for patch
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXWm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c index 73ab21c..4f7b066 100644 --- a/macosx/tkMacOSXWm.c +++ b/macosx/tkMacOSXWm.c @@ -784,6 +784,7 @@ TkWmDeadWindow( if (window && !Tk_IsEmbedded(winPtr) ) { [[window parentWindow] removeChildWindow:window]; + [window setExcludedFromWindowsMenu:YES]; [window close]; TkMacOSXUnregisterMacWindow(window); if (winPtr->window) { |