diff options
author | mdejong <mdejong> | 2002-12-01 23:37:53 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-12-01 23:37:53 (GMT) |
commit | 86e45159acabbaf667b4c297ae2a07745369e792 (patch) | |
tree | 17edb0418713442deef44e4687c1729ab0d62a32 /tests | |
parent | e41cd186045b78af345b11758be8c161d1f051c6 (diff) | |
download | tk-86e45159acabbaf667b4c297ae2a07745369e792.zip tk-86e45159acabbaf667b4c297ae2a07745369e792.tar.gz tk-86e45159acabbaf667b4c297ae2a07745369e792.tar.bz2 |
* tests/wm.test: Add wm-transient-6.3 to
check that a transient remains withdrawn
when it is first withdrawn and then turned
into a transient.
* unix/tkUnixWm.c:
* win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN
with WM_WITHDRAWN and set this flag whenever
a window is explicitly withdrawn. This fixes
the test case added above. [Bug 644356]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wm.test | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/tests/wm.test b/tests/wm.test index 24d81dd..145ee3f 100644 --- a/tests/wm.test +++ b/tests/wm.test @@ -7,7 +7,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: wm.test,v 1.19 2002/09/02 21:21:13 hobbs Exp $ +# RCS: @(#) $Id: wm.test,v 1.20 2002/12/01 23:37:53 mdejong Exp $ # This file tests window manager interactions that work across # platforms. Window manager tests that only work on a specific @@ -1388,6 +1388,21 @@ test wm-transient-6.2 { a withdrawn transient does not track lappend results [wm state .subject] } {withdrawn normal withdrawn normal} +test wm-transient-6.3 { a withdrawn transient does not track + state changes in the master } { + deleteWindows + toplevel .master + toplevel .subject + update + # withdraw before making window a transient + wm withdraw .subject + wm transient .subject .master + wm withdraw .master + wm deiconify .master + # idle handler should not map the transient + update + wm state .subject +} {withdrawn} # wm-transient-7.*: See SF Tk Bug #592201 "wm transient fails with two masters" # wm-transient-7.3 through 7.5 all caused panics on Unix in Tk 8.4b1. |