summaryrefslogtreecommitdiffstats
path: root/tests/unixEmbed.test
diff options
context:
space:
mode:
authorculler <culler>2021-04-25 15:36:39 (GMT)
committerculler <culler>2021-04-25 15:36:39 (GMT)
commit79f3f632a93e76d6d696ae190b69c030f3bc3821 (patch)
tree0da304ded357d2e48537143b60eff28fa654114e /tests/unixEmbed.test
parent8822888c8757a09d5a6322d1458512095ac1f2f0 (diff)
downloadtk-79f3f632a93e76d6d696ae190b69c030f3bc3821.zip
tk-79f3f632a93e76d6d696ae190b69c030f3bc3821.tar.gz
tk-79f3f632a93e76d6d696ae190b69c030f3bc3821.tar.bz2
Using the CALayer changes some timings -- make some small adjustments to a few tests to avoid sporadic timing-related failures.
Diffstat (limited to 'tests/unixEmbed.test')
-rw-r--r--tests/unixEmbed.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unixEmbed.test b/tests/unixEmbed.test
index bb7edc5..d5f6ee3 100644
--- a/tests/unixEmbed.test
+++ b/tests/unixEmbed.test
@@ -1301,6 +1301,7 @@ test unixEmbed-11.2 {mouse coordinates in embedded toplevels} -constraints {
wm geometry .main 200x400+100+100
update idletasks
focus -force .main
+ after 100
set x [expr {[winfo x .main ] + [winfo x .main.b] + 40}]
set y [expr {[winfo y .main ] + [winfo y .main.b] + 38}]
lappend result [winfo containing $x $y]