summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixMenu.c
diff options
context:
space:
mode:
authormdejong <mdejong>2002-06-24 20:34:40 (GMT)
committermdejong <mdejong>2002-06-24 20:34:40 (GMT)
commit16219242ada4cc67e878fa836fc71841c9fb8c94 (patch)
treec3ddfdff422760f0f504dc54ece65afb4b22f916 /unix/tkUnixMenu.c
parentea71819e6413b173b3171a737b00dfd222ac745e (diff)
downloadtk-16219242ada4cc67e878fa836fc71841c9fb8c94.zip
tk-16219242ada4cc67e878fa836fc71841c9fb8c94.tar.gz
tk-16219242ada4cc67e878fa836fc71841c9fb8c94.tar.bz2
* tests/winWm.test: Verify that both an unmapped
and already mapped toplevel are raised and receive the focus when deiconified. * tests/wm.test: Add wm deiconify tests. Check that a toplevel that has never been mapped is not mapped by the deiconify command since it should be done at idle by MapFrame. * win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED flag while processing the wm deiconify command. The WM_UPDATE_PENDING flag should never be set when WM_NEVER_MAPPED is set, but double check so that the implementation is more explicit and matches the comment just above. Return without invoking TkWmRestackToplevel or TkSetFocusWin on a toplevel that has never been mapped. This fixes a bug where a toplevel is mapped with the wrong size and is then resized by the idle call to MapFrame. [Tk bug 233150]
Diffstat (limited to 'unix/tkUnixMenu.c')
0 files changed, 0 insertions, 0 deletions