Re: [PATCH spice-gtk] spice-widget: Use correct enum value

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

 



ack

----- Original Message -----
> GDK_GRAB_BROKEN is not GdkGrabStatus value, but GdkEventType
> ---
>  src/spice-widget.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/spice-widget.c b/src/spice-widget.c
> index cbca5dc..e337321 100644
> --- a/src/spice-widget.c
> +++ b/src/spice-widget.c
> @@ -934,7 +934,7 @@ static GdkGrabStatus do_pointer_grab(SpiceDisplay
> *display)
>  {
>      SpiceDisplayPrivate *d = display->priv;
>      GdkWindow *window =
>      GDK_WINDOW(gtk_widget_get_window(GTK_WIDGET(display)));
> -    GdkGrabStatus status = GDK_GRAB_BROKEN;
> +    GdkGrabStatus status = GDK_GRAB_FAILED;
>      GdkCursor *blank = get_blank_cursor();
>  
>      if (!gtk_widget_get_realized(GTK_WIDGET(display)))
> --
> 2.8.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]