[PATCH spice-gtk 3/3] Rename SpiceHead::id to monitor_id in the protocol

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

 



Signed-off-by: Lukáš Hrázký <lhrazky@xxxxxxxxxx>
---
 src/channel-display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/channel-display.c b/src/channel-display.c
index 993d9b7..54f40ba 100644
--- a/src/channel-display.c
+++ b/src/channel-display.c
@@ -1896,9 +1896,9 @@ static void display_handle_monitors_config(SpiceChannel *channel, SpiceMsgIn *in
         SpiceDisplayMonitorConfig *mc = &g_array_index(c->monitors, SpiceDisplayMonitorConfig, i);
         SpiceHead *head = &config->heads[i];
         CHANNEL_DEBUG(channel, "monitor id: %u, surface id: %u, +%u+%u-%ux%u",
-                    head->id, head->surface_id,
+                    head->monitor_id, head->surface_id,
                     head->x, head->y, head->width, head->height);
-        mc->id = head->id;
+        mc->id = head->monitor_id;
         mc->surface_id = head->surface_id;
         mc->x = head->x;
         mc->y = head->y;
-- 
2.18.0

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




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]