diff options
author | jenglish <jenglish@flightlab.com> | 2003-01-28 20:39:11 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2003-01-28 20:39:11 (GMT) |
commit | 68229120ac33cd987e6aa92a2415c9553a7e4c8c (patch) | |
tree | 99e3eac7f3cd5a09489b7bade74de5492f9a9208 /tests | |
parent | 4d6f4ace4449f166c0bbdbbd10b5dc9efce36eeb (diff) | |
download | tk-68229120ac33cd987e6aa92a2415c9553a7e4c8c.zip tk-68229120ac33cd987e6aa92a2415c9553a7e4c8c.tar.gz tk-68229120ac33cd987e6aa92a2415c9553a7e4c8c.tar.bz2 |
Moved 'deletionEpoch' field from TkDisplay to TkMainInfo.
Reworked windowObj type.
Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wm.test | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/wm.test b/tests/wm.test index 145ee3f..e9d2de5 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.20 2002/12/01 23:37:53 mdejong Exp $ +# RCS: @(#) $Id: wm.test,v 1.21 2003/01/28 20:39:19 jenglish Exp $ # This file tests window manager interactions that work across # platforms. Window manager tests that only work on a specific @@ -1635,6 +1635,14 @@ test wm-withdraw-3.1 {} { lappend result [wm state .t] [winfo ismapped .t] } {withdrawn 0 normal 1} +test wm-deletion-epoch-1.1 {Deletion epoch on multiple displays} {altDisplay} { + # See Tk Bug #671330 "segfault when e.g. deiconifying destroyed window" + deleteWindows + set w [toplevel .t -screen $env(TK_ALT_DISPLAY)] + wm deiconify $w ;# this caches the WindowRep + destroy .t + list [catch {wm deiconify $w} msg] $msg +} {1 {bad window path name ".t"}} # FIXME: |