summaryrefslogtreecommitdiffstats
path: root/unix
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)
commita3ee774779349213a90779a5b69d5ac5d8357099 (patch)
tree030cdc947fde9939ec7a49ebb1403b6c7bb45a8f /unix
parent3dfd0dd611bcd8d85edae8c326be10eb2ee5518a (diff)
downloadtk-a3ee774779349213a90779a5b69d5ac5d8357099.zip
tk-a3ee774779349213a90779a5b69d5ac5d8357099.tar.gz
tk-a3ee774779349213a90779a5b69d5ac5d8357099.tar.bz2
Fixed bug [e9112ef96e] - [wm forget] doesn't completely
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixWm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 612270c..19ac86c 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -1826,6 +1826,11 @@ WmForgetCmd(
~(TK_TOP_HIERARCHY|TK_TOP_LEVEL|TK_HAS_WRAPPER|TK_WIN_MANAGED);
RemapWindows(winPtr, winPtr->parentPtr);
+ /*
+ * Make sure wm no longer manages this window
+ */
+ Tk_ManageGeometry(frameWin, NULL, NULL);
+
/*
* Flags (above) must be cleared before calling TkMapTopFrame (below).
*/