summaryrefslogtreecommitdiffstats
path: root/tests/menu.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-02-11 18:14:13 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-02-11 18:14:13 (GMT)
commit3f9394155c880813da5530a335ba109138311021 (patch)
tree6ea92250e77c1766ff8c082e7aaabf47adb27a82 /tests/menu.test
parent565102f5047086fc26e91321f457e0e14949c458 (diff)
downloadtk-3f9394155c880813da5530a335ba109138311021.zip
tk-3f9394155c880813da5530a335ba109138311021.tar.gz
tk-3f9394155c880813da5530a335ba109138311021.tar.bz2
Patch [85c8397412]: Wrapper proc for exerting timing control over pointer warping. Patch from Erik Leunissen applied as-is.
Diffstat (limited to 'tests/menu.test')
-rw-r--r--tests/menu.test4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/menu.test b/tests/menu.test
index 5055e5c..ec755f0 100644
--- a/tests/menu.test
+++ b/tests/menu.test
@@ -3957,9 +3957,7 @@ test menu-38.1 {Can't dismiss ttk::menubutton menu until mouse has hovered over
pack .top.mb
update
# simulate mouse click on the menubutton, which posts its menu
- event generate .top.mb <Button-1> -warp 1
- update
- after 50
+ controlPointerWarpTiming {event generate .top.mb <Button-1> -warp 1}
event generate .top.mb <ButtonRelease-1>
update
# simulate mouse click on the menu again, i.e. without