summaryrefslogtreecommitdiffstats
path: root/spice/qxl_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'spice/qxl_dev.h')
-rw-r--r--spice/qxl_dev.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 261000c..4d4325b 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -303,11 +303,16 @@ typedef struct SPICE_ATTR_PACKED QXLCopyBits {
#define QXL_EFFECT_NOP 6
#define QXL_EFFECT_OPAQUE_BRUSH 7
+typedef struct SPICE_ATTR_PACKED QXLPattern {
+ QXLPHYSICAL pat;
+ SpicePoint pos;
+} QXLPattern;
+
typedef struct SPICE_ATTR_PACKED QXLBrush {
uint32_t type;
union {
uint32_t color;
- SpicePattern pattern;
+ QXLPattern pattern;
} u;
} QXLBrush;