[Spice-devel] [PATCH spice-gtk] spice-widget: Use correct enum value
Pavel Grunt
pgrunt at redhat.com
Tue May 24 20:13:15 UTC 2016
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
More information about the Spice-devel
mailing list