Make cursor data @as_ptr to avoid copying data

This commit is contained in:
Alexander Larsson 2010-06-18 17:11:39 +02:00
parent 25c04403bd
commit 9b07d78152

View File

@ -173,7 +173,8 @@ typedef struct SpiceMsgcMainMouseModeRequest {
typedef struct SpiceCursor {
uint32_t flags;
SpiceCursorHeader header;
uint8_t data[0];
uint32_t data_size;
uint8_t *data;
} SpiceCursor;
typedef struct SpiceMsgDisplayMode {