diff options
Diffstat (limited to 'tests/event.test')
-rw-r--r-- | tests/event.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/event.test b/tests/event.test index e2ca9f5..f0e2311 100644 --- a/tests/event.test +++ b/tests/event.test @@ -874,9 +874,12 @@ 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 + tkwait visibility .top.f + after 50 update + focus -force .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 + controlPointerWarpTiming update ; # idletasks not enough destroy .top.f ; # no <Enter> event sent update |