diff options
author | mdejong <mdejong> | 2002-08-08 23:45:01 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-08-08 23:45:01 (GMT) |
commit | 713747d6880ccd02cb72ba6c88c08703b43775b2 (patch) | |
tree | 0349046d5679ea073feae010b6ee97d347737d10 /tests/wm.test | |
parent | a23e862bc08e6d2d6ca7e129dff89380f021fb90 (diff) | |
download | tk-713747d6880ccd02cb72ba6c88c08703b43775b2.zip tk-713747d6880ccd02cb72ba6c88c08703b43775b2.tar.gz tk-713747d6880ccd02cb72ba6c88c08703b43775b2.tar.bz2 |
* tests/wm.test: Add deleteWindows at start of
new transient tests so they do not fail if the
toplevels already exist.
* unix/tkUnixWm.c: Revert patch for Tk Bug #592201
which incorrectly removed numTransients member.
Diffstat (limited to 'tests/wm.test')
-rw-r--r-- | tests/wm.test | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/wm.test b/tests/wm.test index bb2cdc3..1694365 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.17 2002/08/08 22:32:11 jenglish Exp $ +# RCS: @(#) $Id: wm.test,v 1.18 2002/08/08 23:45:01 mdejong Exp $ # This file tests window manager interactions that work across # platforms. Window manager tests that only work on a specific @@ -1375,6 +1375,7 @@ test wm-transient-6.2 { a withdrawn transient does not track # 7.1 and 7.2 added to catch (potential) future errors. # test wm-transient-7.1 {Destroying transient} { + deleteWindows toplevel .t toplevel .transient wm transient .transient .t @@ -1384,6 +1385,7 @@ test wm-transient-7.1 {Destroying transient} { } {} test wm-transient-7.2 {Destroying master} { + deleteWindows toplevel .t toplevel .transient wm transient .transient .t @@ -1394,6 +1396,7 @@ test wm-transient-7.2 {Destroying master} { } {} test wm-transient-7.3 {Reassign transient, destroy old master} { + deleteWindows toplevel .t1 toplevel .t2 toplevel .transient @@ -1405,6 +1408,7 @@ test wm-transient-7.3 {Reassign transient, destroy old master} { } {} test wm-transient-7.4 {Reassign transient, destroy new master} { + deleteWindows toplevel .t1 toplevel .t2 toplevel .transient @@ -1416,6 +1420,7 @@ test wm-transient-7.4 {Reassign transient, destroy new master} { } {} test wm-transient-7.5 {Reassign transient, destroy transient} { + deleteWindows toplevel .t1 toplevel .t2 toplevel .transient |