Johannes Schindelin, le Tue 26 Feb 2008 12:57:25 +0000, a écrit : > On Tue, 26 Feb 2008, Samuel Thibault wrote: > > > I asked on the SDL mailing list, and they answered that qemu should > > indeed not use SDL_GetRelativeMouseState(), since that only provides the > > latest mouse position, not the position at the time of the event. > > AFAIR this is done so that your guest system does not spend ages > processing mouse events from 10 minutes ago. This could happen easily if > your guest is on high load.
Mmm, but these events currently _are_ sent to the guest... Events could be coalesced indeed (and an option provided to choose whether to do it or not), but that's not currently the case. > IOW I am not quite sure if I want the behaviour your patch provides, so if > that patch should be taken, there should be at least an option to turn > that behaviour off. Well, at least compared to the current situation (a lot of undeeded events pushed to the guest), my patch is just an improvement, because at least these events are now useful. Samuel