summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukáš Hrázký <lhrazky@redhat.com>2018-07-17 17:22:30 +0200
committerFrediano Ziglio <fziglio@redhat.com>2018-07-18 07:21:48 +0100
commitf82a6c5349a9a71485910bd3a57fe588c49d74f8 (patch)
treef900899a003bd174dd879fbd2b40c17cfba390d2
parentf4a0fec5e9c1d37f01386530f921026d9d3e1c1c (diff)
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@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--common/messages.h2
-rw-r--r--spice.proto2
2 files changed, 2 insertions, 2 deletions
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;