Re: [PATCH 02/18] add RedsState parameter to update_client_mouse_allowed

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

 



On Mon, 2016-02-15 at 16:01 +0000, Frediano Ziglio wrote:
> Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  server/red-dispatcher.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/server/red-dispatcher.c b/server/red-dispatcher.c
> index 81f2ed9..3061735 100644
> --- a/server/red-dispatcher.c
> +++ b/server/red-dispatcher.c
> @@ -190,7 +190,7 @@ static void
> red_dispatcher_cursor_migrate(RedChannelClient *rcc)
>                              &payload);
>  }
>  
> -static void update_client_mouse_allowed(void)
> +static void reds_update_client_mouse_allowed(RedsState *reds)
>  {
>      static int allowed = FALSE;
>      int allow_now = FALSE;
> @@ -371,7 +371,7 @@ static void
> red_dispatcher_destroy_primary_surface_complete(RedDispatcher *dispa
>      dispatcher->use_hardware_cursor = FALSE;
>      dispatcher->primary_active = FALSE;
>  
> -    update_client_mouse_allowed();
> +    reds_update_client_mouse_allowed(reds);
>  }
>  
>  static void
> @@ -423,7 +423,7 @@ static void
> red_dispatcher_create_primary_surface_complete(RedDispatcher *dispat
>      dispatcher->use_hardware_cursor = surface->mouse_mode;
>      dispatcher->primary_active = TRUE;
>  
> -    update_client_mouse_allowed();
> +    reds_update_client_mouse_allowed(reds);
>      memset(&dispatcher->surface_create, 0,
> sizeof(QXLDevSurfaceCreate));
>  }
>  

Acked-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
_______________________________________________
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]