diff options
author | Kevin Walzer <kw@codebykevin.com> | 2011-07-26 12:40:48 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2011-07-26 12:40:48 (GMT) |
commit | 4c0b988f0d667f4a9aa53b4bd97aa5084844f7d2 (patch) | |
tree | d423f673e4c305b5188d0d230559a5b89233147e /macosx/tkMacOSXWm.c | |
parent | 5c42929c720de3be58387e0867f09c42c2506db3 (diff) | |
download | tk-4c0b988f0d667f4a9aa53b4bd97aa5084844f7d2.zip tk-4c0b988f0d667f4a9aa53b4bd97aa5084844f7d2.tar.gz tk-4c0b988f0d667f4a9aa53b4bd97aa5084844f7d2.tar.bz2 |
Minor fix of wm forget implementation on Aqua
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r-- | macosx/tkMacOSXWm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c index d01380c..8e3fc40 100644 --- a/macosx/tkMacOSXWm.c +++ b/macosx/tkMacOSXWm.c @@ -1643,10 +1643,10 @@ WmForgetCmd( MacDrawable *macWin = (MacDrawable *) winPtr->parentPtr->window; TkFocusJoin(winPtr); - Tk_UnmapWindow(frameWin); + Tk_UnmapWindow(frameWin); + TkWmDeadWindow(macWin); RemapWindows(winPtr, macWin); - TkWmDeadWindow(macWin); winPtr->flags &=~(TK_TOP_HIERARCHY|TK_TOP_LEVEL|TK_HAS_WRAPPER|TK_WIN_MANAGED); /* |