diff options
author | fvogel <fvogelnew1@free.fr> | 2016-05-30 18:33:40 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-05-30 18:33:40 (GMT) |
commit | c4a34ede5497baa4a6bd962bed122d2fd767f0c5 (patch) | |
tree | 0feec6a06cde63ca3b4b0bd6129f1824451219db /tests/bind.test | |
parent | dabd306fa65a8ed9d9dbe5da892dcff5c8c9dbb4 (diff) | |
parent | 6a833c0141d490d970f3419e6d2ef5e62e3e9269 (diff) | |
download | tk-c4a34ede5497baa4a6bd962bed122d2fd767f0c5.zip tk-c4a34ede5497baa4a6bd962bed122d2fd767f0c5.tar.gz tk-c4a34ede5497baa4a6bd962bed122d2fd767f0c5.tar.bz2 |
Fixed [79549a9134] - Mouse pointer warping crashes
Diffstat (limited to 'tests/bind.test')
-rw-r--r-- | tests/bind.test | 12 |
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 |