[Spice-devel] [PATCH spice-server 2/3] Rename SpiceHead::id to monitor_id in the protocol

Frediano Ziglio fziglio at redhat.com
Wed Jul 18 07:18:46 UTC 2018


> 
> Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
> ---
>  server/dcc-send.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/dcc-send.c b/server/dcc-send.c
> index 79c3d48b..e19ee19c 100644
> --- a/server/dcc-send.c
> +++ b/server/dcc-send.c
> @@ -2294,7 +2294,7 @@ static void marshall_monitors_config(RedChannelClient
> *rcc, SpiceMarshaller *bas
>          if (monitors_config->heads[i].width == 0 ||
>          monitors_config->heads[i].height == 0) {
>              continue;
>          }
> -        msg->heads[count].id = monitors_config->heads[i].id;
> +        msg->heads[count].monitor_id = monitors_config->heads[i].id;
>          msg->heads[count].surface_id = monitors_config->heads[i].surface_id;
>          msg->heads[count].width = monitors_config->heads[i].width;
>          msg->heads[count].height = monitors_config->heads[i].height;

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list