[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] SDL mouse events smoothness

From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH] SDL mouse events smoothness
Date: Tue, 26 Feb 2008 13:04:23 +0000
User-agent: Mutt/1.5.12-2006-07-14

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]