Add QXLCursorHeader and use instead of SpiceCursorHeader in qxl

This commit is contained in:
Alexander Larsson 2010-07-08 13:23:28 +02:00
parent 17b34b0032
commit b25441f26b

View File

@ -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;