summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2016-05-30 18:33:40 (GMT)
committerfvogelnew1@free.fr <fvogel>2016-05-30 18:33:40 (GMT)
commit27dc84883dcb0433fcbecdd32205d7f7d93826fb (patch)
tree0feec6a06cde63ca3b4b0bd6129f1824451219db /tests
parent2aefe31d83bdb205cd47adaa549fac63f65e2438 (diff)
parent56a2c1da5ec5cb788ffcb942c402a94efd2c74b2 (diff)
downloadtk-27dc84883dcb0433fcbecdd32205d7f7d93826fb.zip
tk-27dc84883dcb0433fcbecdd32205d7f7d93826fb.tar.gz
tk-27dc84883dcb0433fcbecdd32205d7f7d93826fb.tar.bz2
Fixed [79549a9134] - Mouse pointer warping crashes
Diffstat (limited to 'tests')
-rw-r--r--tests/bind.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bind.test b/tests/bind.test
index ab3fa15..ff1b4f9 100644
--- a/tests/bind.test
+++ b/tests/bind.test
@@ -6101,6 +6101,18 @@ test bind-31.7 {virtual event user_data field - unshared, asynch} -setup {
destroy .t.f
} -result {{} {} {TestUserData >b<}}
+test bind-32 {-warp, window was destroyed before the idle callback DoWarp} -setup {
+ frame .t.f
+ pack .t.f
+ focus -force .t.f
+ update
+} -body {
+ event generate .t.f <Button-1> -warp 1
+ destroy .t.f
+ update ; # shall simply not crash
+} -cleanup {
+} -result {}
+
# cleanup
cleanupTests