ref: 8b91de196c8cb21c57763fe80010edb889a7a8f6
parent: 8ae25046d843667ce0ec671ed8c72d58aaef7000
author: Simon Tatham <anakin@pobox.com>
date: Tue Jan 25 09:07:46 EST 2005
Include code in midend.c to sanitise streams of mouse events so that back ends can be assured of always receiving them in a sensible sequence (button-down, followed by zero or more drags, followed by button-up, and never changing button in the middle of such a sequence). I have a suspicion this issue was the cause of the mysterious Pattern grid updates seen by Dan during testing last night. [originally from svn r5208]