From b25441f26b968fa787cb615aad383f6b7947b434 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 8 Jul 2010 13:23:28 +0200 Subject: [PATCH] Add QXLCursorHeader and use instead of SpiceCursorHeader in qxl --- spice/qxl_dev.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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;