diff options
Diffstat (limited to 'spice.proto')
-rw-r--r-- | spice.proto | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spice.proto b/spice.proto index f24445b0..3f7c30c9 100644 --- a/spice.proto +++ b/spice.proto @@ -874,7 +874,10 @@ struct CursorHeader { struct Cursor { cursor_flags flags; - CursorHeader header; + switch (flags) { + case !NONE: + CursorHeader header; + } u @anon; uint8 data[] @as_ptr(data_size); }; |