[Spice-devel] [PATCH spice-server 2/6] video-stream: Reuse display variable

Jonathon Jongsma jjongsma at redhat.com
Tue Dec 12 16:40:36 UTC 2017


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


On Fri, 2017-12-08 at 15:55 +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/video-stream.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/video-stream.c b/server/video-stream.c
> index 4830705f..89f94ffb 100644
> --- a/server/video-stream.c
> +++ b/server/video-stream.c
> @@ -851,9 +851,9 @@ static void
> dcc_detach_stream_gracefully(DisplayChannelClient *dcc,
>                      stream_id, stream->current != NULL);
>          rect_debug(&upgrade_area);
>          if (update_area_limit) {
> -            display_channel_draw_until(DCC_TO_DC(dcc),
> &upgrade_area, 0, update_area_limit);
> +            display_channel_draw_until(display, &upgrade_area, 0,
> update_area_limit);
>          } else {
> -            display_channel_draw(DCC_TO_DC(dcc), &upgrade_area, 0);
> +            display_channel_draw(display, &upgrade_area, 0);
>          }
>          dcc_add_surface_area_image(dcc, 0, &upgrade_area, NULL,
> FALSE);
>      }


More information about the Spice-devel mailing list