diff options
author | fvogel <fvogelnew1@free.fr> | 2016-02-24 20:10:25 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-02-24 20:10:25 (GMT) |
commit | a3ee774779349213a90779a5b69d5ac5d8357099 (patch) | |
tree | 030cdc947fde9939ec7a49ebb1403b6c7bb45a8f /win | |
parent | 3dfd0dd611bcd8d85edae8c326be10eb2ee5518a (diff) | |
download | tk-a3ee774779349213a90779a5b69d5ac5d8357099.zip tk-a3ee774779349213a90779a5b69d5ac5d8357099.tar.gz tk-a3ee774779349213a90779a5b69d5ac5d8357099.tar.bz2 |
Fixed bug [e9112ef96e] - [wm forget] doesn't completely
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinWm.c | 6 |
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) */ |