Subject: A mouse button once pressed should be released. Doing otherwise messes up with assumptions in other (later) tests from the test suite, which reasonably think they start with all mouse buttons depressed. In the present case, canvas-13.1 failed because event generation of <ButtonRelease-1> was missing in test bind-32

From: fvogel <[email-masked]>
Date: Mon, 30 May 2016 20:16:28 +0000

---
 tests/bind.test | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/bind.test b/tests/bind.test
index 387b119..c26cfcd 100644
--- a/tests/bind.test
+++ b/tests/bind.test
@@ -6100,6 +6100,7 @@ test bind-32 {-warp, window was destroyed before the idle callback DoWarp} -setu
     update
 } -body {
     event generate .t.f <Button-1> -warp 1
+    event generate .t.f <ButtonRelease-1>
     destroy .t.f
     update  ;  # shall simply not crash
 } -cleanup {
-- 
cgit v0.12