[Spice-commits] common/messages.h spice.proto

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 18 06:23:08 UTC 2018


 common/messages.h |    2 +-
 spice.proto       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f82a6c5349a9a71485910bd3a57fe588c49d74f8
Author: Lukáš Hrázký <lhrazky at redhat.com>
Date:   Tue Jul 17 17:22:30 2018 +0200

    Rename SpiceHead::id to monitor_id
    
    The id is called 'monitor_id' throughout the rest of the code, rename
    for clarity and consistency.
    
    Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/common/messages.h b/common/messages.h
index 4fc03d4..55de76e 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -615,7 +615,7 @@ typedef struct SpiceMsgcSmartcard {
 #endif
 
 typedef struct SpiceMsgDisplayHead {
-    uint32_t id;
+    uint32_t monitor_id;
     uint32_t surface_id;
     uint32_t width;
     uint32_t height;
diff --git a/spice.proto b/spice.proto
index e678ef8..fbc31f7 100644
--- a/spice.proto
+++ b/spice.proto
@@ -709,7 +709,7 @@ struct StreamDataHeader {
 };
 
 struct Head {
-    uint32 id;
+    uint32 monitor_id;
     uint32 surface_id;
     uint32 width;
     uint32 height;


More information about the Spice-commits mailing list