summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-06-02 21:33:53 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-06-02 21:33:53 (GMT)
commit09befbb4eac44f8ad13d3d5cf4250cbfc926039a (patch)
treee90cc3737fc51802c566916d477b6c91cde3e3db /tests
parent94796510222de972274beb287fa2aaa581dd4a7a (diff)
downloadtk-09befbb4eac44f8ad13d3d5cf4250cbfc926039a.zip
tk-09befbb4eac44f8ad13d3d5cf4250cbfc926039a.tar.gz
tk-09befbb4eac44f8ad13d3d5cf4250cbfc926039a.tar.bz2
Fix error (with no consequences) in test bind-34.1
Diffstat (limited to 'tests')
-rw-r--r--tests/bind.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bind.test b/tests/bind.test
index a001580..e62ce8d 100644
--- a/tests/bind.test
+++ b/tests/bind.test
@@ -6637,13 +6637,13 @@ test bind-34.1 {-warp works relatively to a window} -setup {
event generate .top <Motion> -x 20 -y 20 -warp 1
update idletasks ; # DoWarp is an idle callback
after 50 ; # Win specific - wait for SendInput to be executed
- set pointerPos1 [winfo pointerxy .t]
+ set pointerPos1 [winfo pointerxy .top]
wm geometry .top +600+600
update
event generate .top <Motion> -x 20 -y 20 -warp 1
update idletasks ; # DoWarp is an idle callback
after 50 ; # Win specific - wait for SendInput to be executed
- set pointerPos2 [winfo pointerxy .t]
+ set pointerPos2 [winfo pointerxy .top]
# from the first warped position to the second one, the mouse
# pointer should have moved the same amount as the window moved
set res 1