On Wed, Mar 05, 2008 at 01:54:53PM +0000, Samuel Thibault wrote: > Here is a revamped patch: > > This fixes SDL mouse events processing: > - GetRelativeMouseState() always returns the last position, so when the > polling loop gets several mouse events in one go, we would send > useless 'no move' events, let's avoid that. > - So as to make sure we don't miss any mouse click / double click, we > should not use GetRelativeMouseState() to get the button state, but > rather keep records of the button state ourselves (I've requested SDL > developers to provide it directly in the event in SDL 1.3). > - bev->state doesn't contain the button state but whether the event is a press > or a release. Use bev->button instead.
This patch does not apply anymore. Could you please to redo it against the current CVS? -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net