[RFC/POC PATCH spice-common 03/16] add output_id to SpiceMsgDisplayMonitorsConfig

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

 



TODO: To keep backwards compatibility, the message needs to be copied
under a new name and the output_id field added to the copy, then used.
---
 common/messages.h | 1 +
 spice.proto       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/common/messages.h b/common/messages.h
index 4fc03d4..b864add 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -617,6 +617,7 @@ typedef struct SpiceMsgcSmartcard {
 typedef struct SpiceMsgDisplayHead {
     uint32_t id;
     uint32_t surface_id;
+    uint32_t output_id;
     uint32_t width;
     uint32_t height;
     uint32_t x;
diff --git a/spice.proto b/spice.proto
index 6ee4766..399199d 100644
--- a/spice.proto
+++ b/spice.proto
@@ -710,6 +710,7 @@ struct StreamDataHeader {
 struct Head {
     uint32 id;
     uint32 surface_id;
+    uint32 output_id;
     uint32 width;
     uint32 height;
     uint32 x;
-- 
2.17.1

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




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