[Spice-devel] [PATCH spice-gtk] widget: Send keys to guest when keyboard grab is released

Marc-André Lureau mlureau at redhat.com
Wed Feb 11 03:30:07 PST 2015


ack

----- Original Message -----
> Keys should be sent to the guest if the widget has the focus even
> when the keyboard grab is released.
> ---
>  gtk/spice-widget.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
> index 147271c..1f7008a 100644
> --- a/gtk/spice-widget.c
> +++ b/gtk/spice-widget.c
> @@ -1200,9 +1200,6 @@ static void send_key(SpiceDisplay *display, int
> scancode, SendKeyType type, gboo
>      if (d->disable_inputs)
>          return;
>  
> -    if (d->keyboard_grab_released)
> -        return;
> -
>      i = scancode / 32;
>      b = scancode % 32;
>      m = (1 << b);
> --
> 1.9.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list