All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cole Robinson <crobinso@redhat.com>
To: Takashi Iwai <tiwai@suse.de>, qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>, Anthony Liguori <aliguori@amazon.com>
Subject: Re: [Qemu-devel] [PATCH] gtk: Keep the pointer within window during input grab
Date: Tue, 08 Apr 2014 18:46:14 -0400	[thread overview]
Message-ID: <53447C36.7010708@redhat.com> (raw)
In-Reply-To: <1396961209-8104-1-git-send-email-tiwai@suse.de>

On 04/08/2014 08:46 AM, Takashi Iwai wrote:
> The current code shows annoying behavior where the X pointer can move
> out of the window during the input grab in the absolute mode.  Due to
> this, the pointer in qemu window looks as if frozen until the real
> (invisible) X pointer comes back to the window again.
> 
> For avoiding such an unexpected lag, this patch limits the pointer
> movement only within the qemu window during the input grab in the
> absolute mode.  When the pointer goes out, it's moved back to the
> boundary again.
> 
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
>  ui/gtk.c | 51 ++++++++++++++++++++++++++++++---------------------
>  1 file changed, 30 insertions(+), 21 deletions(-)
> 

Tested with gtk2 and gtk3

Tested-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>

- Cole

  reply	other threads:[~2014-04-08 22:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 12:46 [Qemu-devel] [PATCH] gtk: Keep the pointer within window during input grab Takashi Iwai
2014-04-08 22:46 ` Cole Robinson [this message]
2014-04-11 13:07 ` Gerd Hoffmann
2014-04-11 13:28   ` Takashi Iwai
2014-04-11 21:08     ` Cole Robinson

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=53447C36.7010708@redhat.com \
    --to=crobinso@redhat.com \
    --cc=aliguori@amazon.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.