summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-02-24 20:10:25 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-02-24 20:10:25 (GMT)
commit0a50d21586bf9dd6d3ec5db3ac8099b1a56db557 (patch)
tree030cdc947fde9939ec7a49ebb1403b6c7bb45a8f /win/tkWinWm.c
parent2c4722a85c6197cf3257adaa63e27a86b551866f (diff)
downloadtk-0a50d21586bf9dd6d3ec5db3ac8099b1a56db557.zip
tk-0a50d21586bf9dd6d3ec5db3ac8099b1a56db557.tar.gz
tk-0a50d21586bf9dd6d3ec5db3ac8099b1a56db557.tar.bz2
Fixed bug [e9112ef96e] - [wm forget] doesn't completely
Diffstat (limited to 'win/tkWinWm.c')
-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) */