summaryrefslogtreecommitdiffstats
path: root/tests/event.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-04-24 20:53:10 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-04-24 20:53:10 (GMT)
commit6473e4dfc9b2c58fd9625f4d5ade3acf9b91793d (patch)
tree82f357a486f2070b829e8d4cae10016c9f0ed634 /tests/event.test
parentac33a82c8bcfde7c5fc782bfab34c2dfc21cbab5 (diff)
parent8c01d5fea4cbdd448a644bfaf18e9dfc96843b61 (diff)
downloadtk-6473e4dfc9b2c58fd9625f4d5ade3acf9b91793d.zip
tk-6473e4dfc9b2c58fd9625f4d5ade3acf9b91793d.tar.gz
tk-6473e4dfc9b2c58fd9625f4d5ade3acf9b91793d.tar.bz2
merge core-8-6-branch
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 9af334c..32641be 100644
--- a/tests/event.test
+++ b/tests/event.test
@@ -874,10 +874,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
controlPointerWarpTiming
update ; # idletasks not enough