I'm not at all qualified to judge the deeper aspects of this but the code looks horribly complicated in either case. Surely we can do simpler code?
It really ought to be the VM that filters identical mouse position events, not the image.
< I'm a bug-fixing machine! >
This post brought to you by the BugFixArchiveViewer, a handy tool that makes it easy to comment on proposed fixes and enhancements for Squeak. For more information, check out the Web page for the BugFixArchiveViewer project: http://minnow.cc.gatech.edu/squeak/3214
< I'm a bug-fixing machine! >