summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2016-02-25 15:18:21 (GMT)
committerdgp@users.sourceforge.net <dgp>2016-02-25 15:18:21 (GMT)
commitbea7044594102c8e7bdc2d92b2b9f05492449a03 (patch)
tree668fe58251cf32d8684e2977a1659c8ce6e609e9 /win
parent9642edba64ae2f09d2dc2fa20b90e7ddd9529ba7 (diff)
parentf684181d4b4841dcc4c1fbcb262eacfb7df3c34a (diff)
downloadtk-bea7044594102c8e7bdc2d92b2b9f05492449a03.zip
tk-bea7044594102c8e7bdc2d92b2b9f05492449a03.tar.gz
tk-bea7044594102c8e7bdc2d92b2b9f05492449a03.tar.bz2
Put [wm forget] fix in the 8.6.5 release.
Diffstat (limited to 'win')
-rw-r--r--win/tkWinWm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 768ee69..4e7618d 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -3673,6 +3673,12 @@ WmForgetCmd(
winPtr->flags &= ~(TK_TOP_HIERARCHY|TK_TOP_LEVEL|TK_HAS_WRAPPER|TK_WIN_MANAGED);
Tk_MakeWindowExist((Tk_Window)winPtr->parentPtr);
RemapWindows(winPtr, Tk_GetHWND(winPtr->parentPtr->window));
+
+ /*
+ * Make sure wm no longer manages this window
+ */
+ Tk_ManageGeometry(frameWin, NULL, NULL);
+
TkWmDeadWindow(winPtr);
/* flags (above) must be cleared before calling */
/* TkMapTopFrame (below) */