Signed-off-by: Lukáš Hrázký <lhra...@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;
-- 
2.18.0

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to