summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorculler <culler>2021-11-10 15:28:19 (GMT)
committerculler <culler>2021-11-10 15:28:19 (GMT)
commitc0839e74ebbbf68de6327d95df2f59536e97d86e (patch)
treede7ae51e2f5bd0bb5a5402be06e2eecb64cb2404 /macosx
parent218fc2fe4c7fba58719948d2dace2b5da5ae9d3b (diff)
downloadtk-c0839e74ebbbf68de6327d95df2f59536e97d86e.zip
tk-c0839e74ebbbf68de6327d95df2f59536e97d86e.tar.gz
tk-c0839e74ebbbf68de6327d95df2f59536e97d86e.tar.bz2
The call to orderOut was missing because it was accidentally deleted. Put it back where it used to be.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXSubwindows.c1
-rw-r--r--macosx/tkMacOSXWm.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index bd0f60a..caebd7b 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -305,6 +305,7 @@ XUnmapWindow(
if (!Tk_IsEmbedded(winPtr) &&
winPtr->wmInfoPtr->hints.initial_state!=IconicState) {
[win setExcludedFromWindowsMenu:YES];
+ [win orderOut:NSApp];
if ([win isKeyWindow]) {
/*
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 26617a4..5a39948 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -6464,7 +6464,6 @@ TkpWmSetState(
}
if (state == WithdrawnState) {
Tk_UnmapWindow((Tk_Window)winPtr);
- [macWin orderOut:NSApp];
} else if (state == IconicState) {
/*