diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-07-08 13:23:28 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-07-08 13:23:28 +0200 |
commit | b25441f26b968fa787cb615aad383f6b7947b434 (patch) | |
tree | 3a211bafc31e88b6740cd866adebc5bc402d609c /spice | |
parent | 17b34b00321a9b11a2aac33e392056d39b01839f (diff) |
Add QXLCursorHeader and use instead of SpiceCursorHeader in qxl
Diffstat (limited to 'spice')
-rw-r--r-- | spice/qxl_dev.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h index c3287e4..06ab941 100644 --- a/spice/qxl_dev.h +++ b/spice/qxl_dev.h @@ -255,8 +255,17 @@ typedef struct SPICE_ATTR_PACKED QXLUpdateCmd { uint32_t surface_id; } QXLUpdateCmd; +typedef struct SPICE_ATTR_PACKED QXLCursorHeader { + uint64_t unique; + uint16_t type; + uint16_t width; + uint16_t height; + uint16_t hot_spot_x; + uint16_t hot_spot_y; +} QXLCursorHeader; + typedef struct SPICE_ATTR_PACKED QXLCursor { - SpiceCursorHeader header; + QXLCursorHeader header; uint32_t data_size; QXLDataChunk chunk; } QXLCursor; |