[Spice-devel] [PATCH] spice-widget: Add spice_display_mouse_grab()

Christophe Fergeau cfergeau at redhat.com
Tue Aug 27 11:04:55 PDT 2013


On Mon, Aug 26, 2013 at 04:30:59PM +0200, Martin Kletzander wrote:
> diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
> index d25edca..d18b39d 100644
> --- a/gtk/spice-widget.c
> +++ b/gtk/spice-widget.c
> @@ -1,6 +1,6 @@
>  /* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
>  /*
> -   Copyright (C) 2010 Red Hat, Inc.
> +   Copyright (C) 2010, 2013 Red Hat, Inc.
> 
>     This library is free software; you can redistribute it and/or
>     modify it under the terms of the GNU Lesser General Public
> @@ -83,7 +83,8 @@ static gboolean gtk_widget_get_realized(GtkWidget *widget)
>   * focused if the properties #SpiceDisplay:grab-keyboard and
>   * #SpiceDisplay:grab-mouse are #TRUE respectively.  It can be
>   * ungrabbed with spice_display_mouse_ungrab(), and by setting a key
> - * combination with spice_display_set_grab_keys().
> + * combination with spice_display_set_grab_keys().  The grab can be
> + * also forcefully initiated using spice_display_mouse_ungrab().

I think you mean mouse_grab() here?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130827/9a2a1108/attachment.pgp>


More information about the Spice-devel mailing list