summaryrefslogtreecommitdiffstats
path: root/tests/event.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-25 22:46:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-25 22:46:44 (GMT)
commitaf781a18d0efc1cd5d67efafe287aa8ea613d7d9 (patch)
treebd2d396dcc9578a5d980c7eb244ffd463053c21e /tests/event.test
parent34bbe087ee9542cd9a5b43c0402cee944ffc1de9 (diff)
parent336f34228cb6b288f45ccb32c482898749f4b967 (diff)
downloadtk-af781a18d0efc1cd5d67efafe287aa8ea613d7d9.zip
tk-af781a18d0efc1cd5d67efafe287aa8ea613d7d9.tar.gz
tk-af781a18d0efc1cd5d67efafe287aa8ea613d7d9.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/event.test')
-rw-r--r--tests/event.test5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/event.test b/tests/event.test
index 951a6f6..03405dd 100644
--- a/tests/event.test
+++ b/tests/event.test
@@ -828,10 +828,7 @@ test event-9 {no <Enter> event is generated for the container window when its
pack propagate .top 0
bind .top <Enter> {lappend res %W}
pack [frame .top.f -bg green -width 50 -height 50] -anchor se -side bottom
- # stabilize the test by giving some time to the OS before the upcoming update,
- # so that -warp below finds the frame
- after 50
- update
+ tkwait visibility .top.f
event generate .top.f <Motion> -warp 1 -x 25 -y 25 ; # <Enter> sent to .top and .top.f
after 50 ; # Win specific - wait for SendInput to be executed
update ; # idletasks not enough