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 <ti...@suse.de>
> ---
>  ui/gtk.c | 51 ++++++++++++++++++++++++++++++---------------------
>  1 file changed, 30 insertions(+), 21 deletions(-)
> 

Tested with gtk2 and gtk3

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

- Cole


Reply via email to