Although is not mentioned in Gtk docs, the value was defined in 3.16. Reported-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx> --- src/spice-widget.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/spice-widget.c b/src/spice-widget.c index d0fa912..8998daf 100644 --- a/src/spice-widget.c +++ b/src/spice-widget.c @@ -934,6 +934,9 @@ static GdkGrabStatus do_pointer_grab(SpiceDisplay *display) { SpiceDisplayPrivate *d = display->priv; GdkWindow *window = GDK_WINDOW(gtk_widget_get_window(GTK_WIDGET(display))); +#if !GTK_CHECK_VERSION(3,16,0) +#define GDK_GRAB_FAILED 5 +#endif GdkGrabStatus status = GDK_GRAB_FAILED; GdkCursor *blank = get_blank_cursor(); -- 2.8.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel