Fwd: [spice-protocol PATCH] Add an escape handler to generate a Spice Server monitors_config message

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

 




----- Forwarded Message -----
From: sstutsma@xxxxxxxxxx
To: spice-devel@xxxxxxxxxxxxxxxxxxxxx
Cc: "Sandy Stutsman" <sstutsma@xxxxxxxxxx>
Sent: Wednesday, March 11, 2015 1:35:34 PM
Subject: [spice-protocol PATCH] Add an escape handler to generate a Spice Server monitors_config message

From: Sandy Stutsman <sstutsma@xxxxxxxxxx>

Add the escape code and structure.
---
 spice/qxl_windows.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/spice/qxl_windows.h b/spice/qxl_windows.h
index d1df684..d3cb7a1 100644
--- a/spice/qxl_windows.h
+++ b/spice/qxl_windows.h
@@ -7,6 +7,7 @@
 
 enum {
     QXL_ESCAPE_SET_CUSTOM_DISPLAY = 0x10001,
+    QXL_ESCAPE_MONITOR_CONFIG,
 };
 
 typedef struct SPICE_ATTR_PACKED QXLEscapeSetCustomDisplay {
@@ -15,6 +16,15 @@ typedef struct SPICE_ATTR_PACKED QXLEscapeSetCustomDisplay {
     uint32_t bpp;
 } QXLEscapeSetCustomDisplay;
 
+typedef struct SPICE_ATTR_PACKED QXLEscapeMonitorConfig {
+    uint32_t xpos;
+    uint32_t ypos;
+    uint32_t xres;
+    uint32_t yres;
+    uint32_t bpp;
+    uint64_t monitors_config;
+} QXLEscapeMonitorConfig;
+
 #include <spice/end-packed.h>
 
 #endif /* _H_QXL_WINDOWS */
-- 
2.1.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://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]