summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-05-30 18:14:55 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-05-30 18:14:55 (GMT)
commitf7271371b3ef0ae8c36fa3cfff4dd0409d2437dc (patch)
tree7d26f7ec45076e6dbb5a0c5b834e984fd35d3d4e /tests
parent3bb152233051f8f3af7783398536cc987bbcf417 (diff)
parent88516c26fd029f03f6ace99463da1ece2844399f (diff)
downloadtk-f7271371b3ef0ae8c36fa3cfff4dd0409d2437dc.zip
tk-f7271371b3ef0ae8c36fa3cfff4dd0409d2437dc.tar.gz
tk-f7271371b3ef0ae8c36fa3cfff4dd0409d2437dc.tar.bz2
Fixed [f2655bb0ec] - bind-15.23 fails if the mouse is inside the test window
Diffstat (limited to 'tests')
-rw-r--r--tests/bind.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bind.test b/tests/bind.test
index 0514499..0a4d114 100644
--- a/tests/bind.test
+++ b/tests/bind.test
@@ -34,6 +34,14 @@ proc unsetBindings {} {
bind .t <Enter> {}
}
+# move the mouse pointer away of the testing area
+# otherwise some spurious events may pollute the tests
+toplevel .top
+wm geometry .top 50x50-50-50
+update
+event generate .top <Button-1> -warp 1
+update
+destroy .top
test bind-1.1 {bind command} -body {
bind