diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-03-06 02:45:13 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-03-06 02:45:13 (GMT) |
commit | e03776c4c7a38e364a5ce642940e89c601b19ec2 (patch) | |
tree | 8876b87972c68fc2e9c7c342fb64527ced965abc /macosx | |
parent | 4c1308ad477522bc98eea3a93e4085abba195a56 (diff) | |
download | tk-e03776c4c7a38e364a5ce642940e89c601b19ec2.zip tk-e03776c4c7a38e364a5ce642940e89c601b19ec2.tar.gz tk-e03776c4c7a38e364a5ce642940e89c601b19ec2.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 210fd6f..c824afc 100644 --- a/macosx/tkMacOSXWm.c +++ b/macosx/tkMacOSXWm.c @@ -788,6 +788,7 @@ TkWmDeadWindow( NSWindow *window = wmPtr->window; if (window && !Tk_IsEmbedded(winPtr) ) { [[window parentWindow] removeChildWindow:window]; + [window setExcludedFromWindowsMenu:YES]; [window close]; TkMacOSXUnregisterMacWindow(window); if (winPtr->window) { |