[Spice-commits] src/spice-widget.c
Pavel Grunt
pgrunt at kemper.freedesktop.org
Wed May 25 04:48:17 UTC 2016
src/spice-widget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d96d951445cccf25461baeb4b282a3eb202563df
Author: Pavel Grunt <pgrunt at redhat.com>
Date: Tue May 24 22:13:15 2016 +0200
spice-widget: Use correct enum value
GDK_GRAB_BROKEN is not GdkGrabStatus value, but GdkEventType
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)))
More information about the Spice-commits
mailing list