summaryrefslogtreecommitdiffstats
path: root/spice1.proto
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-30 16:49:50 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:46 +0100
commit6d38c4817f751f5f47dd1d22ba8319675bb57295 (patch)
tree5d628a898b6367bef705e89eb9f7f6f83069dfe9 /spice1.proto
parent68e29d0d1929366d267e25581fa920f3d30cc0a8 (diff)
downloadspice-protocol-6d38c4817f751f5f47dd1d22ba8319675bb57295.tar.gz
spice-protocol-6d38c4817f751f5f47dd1d22ba8319675bb57295.tar.xz
spice-protocol-6d38c4817f751f5f47dd1d22ba8319675bb57295.zip
Simplify SpiceLineAttr by removing unsed stuff
Also in new protocol don't send style data if not needed.
Diffstat (limited to 'spice1.proto')
-rw-r--r--spice1.proto10
1 files changed, 5 insertions, 5 deletions
diff --git a/spice1.proto b/spice1.proto
index 0150de2..c9a18d9 100644
--- a/spice1.proto
+++ b/spice1.proto
@@ -131,7 +131,7 @@ channel BaseChannel {
uint32 what; /* error_code/warn_code/info_code */
uint32 message_len;
uint8 message[message_len] @end @nomarshal;
- uint8 zero @end @ctype(uint8_t) @zero @nomarshal;
+ uint8 zero @end @ctype(uint8_t) @nomarshal;
} notify;
client:
@@ -485,11 +485,11 @@ struct QMask {
struct LineAttr {
line_flags flags;
- line_join join_style;
- line_cap end_style;
+ line_join join_style @zero;
+ line_cap end_style @zero;
uint8 style_nseg;
- fixed28_4 width;
- fixed28_4 miter_limit;
+ fixed28_4 width @zero;
+ fixed28_4 miter_limit @zero;
fixed28_4 *style[style_nseg];
};