diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-07-19 16:27:42 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:49 +0100 |
commit | 7897a338db23c29746dbd6062cbc615a3f15dbb4 (patch) | |
tree | e487dd900c5dec1a96c38b9b3f73ffcfb6be9b7f /spice.proto | |
parent | efba88ce725d91d9c33e44332b64f737cc1a07b6 (diff) | |
download | spice-common-7897a338db23c29746dbd6062cbc615a3f15dbb4.tar.gz spice-common-7897a338db23c29746dbd6062cbc615a3f15dbb4.tar.xz spice-common-7897a338db23c29746dbd6062cbc615a3f15dbb4.zip |
Don't send CursorHeader if cursor_flags is NONE
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 f24445b..3f7c30c 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); }; |