summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
authorculler <culler>2024-05-22 16:58:35 (GMT)
committerculler <culler>2024-05-22 16:58:35 (GMT)
commit000fab56ad22db72cc7b854e859cc8597bac1575 (patch)
treea2c64129e2463bb45682defa43e0f951ed8b9061 /tests/wm.test
parent26ddf13d3772b5ac21eab4f997628305d5622543 (diff)
downloadtk-000fab56ad22db72cc7b854e859cc8597bac1575.zip
tk-000fab56ad22db72cc7b854e859cc8597bac1575.tar.gz
tk-000fab56ad22db72cc7b854e859cc8597bac1575.tar.bz2
Add some update hacks to defer macOS crashes until xmfbox.test.
Diffstat (limited to 'tests/wm.test')
-rw-r--r--tests/wm.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wm.test b/tests/wm.test
index 6f6dc80..926615e 100644
--- a/tests/wm.test
+++ b/tests/wm.test
@@ -947,6 +947,8 @@ test wm-iconwindow-2.1 {setting and reading values} -setup {
destroy .icon
set result {}
} -body {
+ #added to avoid a crash on macOS
+ deiconify .t; update
lappend result [wm iconwindow .t]
toplevel .icon -width 50 -height 50 -bg green
wm iconwindow .t .icon