summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-02-25 15:18:21 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-02-25 15:18:21 (GMT)
commit8019506921eab871f899a0fa2aa8386e9e5b8178 (patch)
tree668fe58251cf32d8684e2977a1659c8ce6e609e9 /macosx
parent4b9a72a445fc72b0ca531990c521ddd01c47600b (diff)
parent505168f33072ae432a1f15d9fad413cb68095477 (diff)
downloadtk-8019506921eab871f899a0fa2aa8386e9e5b8178.zip
tk-8019506921eab871f899a0fa2aa8386e9e5b8178.tar.gz
tk-8019506921eab871f899a0fa2aa8386e9e5b8178.tar.bz2
Put [wm forget] fix in the 8.6.5 release.core_8_6_5core_8_6_5_rc
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXWm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 3ea2f51..39990e6 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -1788,6 +1788,11 @@ WmForgetCmd(
TkWmDeadWindow(winPtr);
RemapWindows(winPtr, (MacDrawable *) winPtr->parentPtr->window);
+ /*
+ * Make sure wm no longer manages this window
+ */
+ Tk_ManageGeometry(frameWin, NULL, NULL);
+
winPtr->flags &= ~(TK_TOP_HIERARCHY|TK_TOP_LEVEL|TK_HAS_WRAPPER|TK_WIN_MANAGED);
/*