summaryrefslogtreecommitdiffstats
path: root/tests/place.test
diff options
context:
space:
mode:
authorculler <culler>2020-07-22 21:31:41 (GMT)
committerculler <culler>2020-07-22 21:31:41 (GMT)
commite9fb55d44123ed3f5db96f308e4143e6efa22205 (patch)
tree3122e26eb6e45b87bc5f8710597f4ee149b111c9 /tests/place.test
parent8355f067aeedc09f978725b0c5956924ac3542bc (diff)
downloadtk-e9fb55d44123ed3f5db96f308e4143e6efa22205.zip
tk-e9fb55d44123ed3f5db96f308e4143e6efa22205.tar.gz
tk-e9fb55d44123ed3f5db96f308e4143e6efa22205.tar.bz2
More Yosemite fixes. Why did it start to hang in safePrimarySelection-3.1?
Diffstat (limited to 'tests/place.test')
-rw-r--r--tests/place.test17
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/place.test b/tests/place.test
index 62e0ed2..56ddde4 100644
--- a/tests/place.test
+++ b/tests/place.test
@@ -264,34 +264,35 @@ test place-8.1 {MasterStructureProc, mapping and unmapping slaves} -setup {
place forget .t.f
} -body {
place .t.f2 -relx 1.0 -rely 1.0 -anchor sw
- update
+ update idletasks
set result [winfo ismapped .t.f2]
wm iconify .t
- update
+ update idletasks
lappend result [winfo ismapped .t.f2]
place .t.f2 -x 40 -y 30 -relx 0 -rely 0 -anchor nw
- update
+ update idletasks
lappend result [winfo x .t.f2] [winfo y .t.f2] [winfo ismapped .t.f2]
wm deiconify .t
- update
+ update idletasks
lappend result [winfo ismapped .t.f2]
} -result {1 0 40 30 0 1}
test place-8.2 {MasterStructureProc, mapping and unmapping slaves} -setup {
place forget .t.f2
place forget .t.f
+ update idletasks
} -body {
place .t.f -x 0 -y 0 -width 200 -height 100
place .t.f2 -in .t.f -relx 1.0 -rely 1.0 -anchor sw -width 50 -height 20
- update
+ update idletasks
set result [winfo ismapped .t.f2]
wm iconify .t
- update
+ update idletasks
lappend result [winfo ismapped .t.f2]
place .t.f2 -x 40 -y 30 -relx 0 -rely 0 -anchor nw
- update
+ update idletasks
lappend result [winfo x .t.f2] [winfo y .t.f2] [winfo ismapped .t.f2]
wm deiconify .t
- update
+ update idletasks
lappend result [winfo ismapped .t.f2]
} -result {1 0 42 32 0 1}
destroy .t