From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] SDL mouse events smoothness
Date: Tue, 26 Feb 2008 13:04:23 +0000 [thread overview]
Message-ID: <20080226130423.GL4430@implementation.uk.xensource.com> (raw)
In-Reply-To: <alpine.LSU.1.00.0802261255210.17164@racer.site>
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
prev parent reply other threads:[~2008-02-26 13:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 12:51 [Qemu-devel] [PATCH] SDL mouse events smoothness Samuel Thibault
2008-02-26 12:57 ` Johannes Schindelin
2008-02-26 13:04 ` Samuel Thibault [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080226130423.GL4430@implementation.uk.xensource.com \
--to=samuel.thibault@eu.citrix.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).