summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2011-07-27 02:33:29 (GMT)
committerKevin Walzer <kw@codebykevin.com>2011-07-27 02:33:29 (GMT)
commit5a4b822ad00a41f425f7b9bdade7eeced6d9aac0 (patch)
treed63ec8a449dd2fb62036d99d4cb08af3a3cd3ca8 /macosx/tkMacOSXWm.c
parent4c0b988f0d667f4a9aa53b4bd97aa5084844f7d2 (diff)
downloadtk-5a4b822ad00a41f425f7b9bdade7eeced6d9aac0.zip
tk-5a4b822ad00a41f425f7b9bdade7eeced6d9aac0.tar.gz
tk-5a4b822ad00a41f425f7b9bdade7eeced6d9aac0.tar.bz2
Minor tweak for wm forget
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 8e3fc40..b916de3 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -1643,8 +1643,8 @@ WmForgetCmd(
MacDrawable *macWin = (MacDrawable *) winPtr->parentPtr->window;
TkFocusJoin(winPtr);
- Tk_UnmapWindow(frameWin);
- TkWmDeadWindow(macWin);
+ Tk_UnmapWindow(frameWin);
+ TkWmDeadWindow(macWin);
RemapWindows(winPtr, macWin);
winPtr->flags &=~(TK_TOP_HIERARCHY|TK_TOP_LEVEL|TK_HAS_WRAPPER|TK_WIN_MANAGED);