From 6d38c4817f751f5f47dd1d22ba8319675bb57295 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 30 Jun 2010 16:49:50 +0200 Subject: Simplify SpiceLineAttr by removing unsed stuff Also in new protocol don't send style data if not needed. --- spice1.proto | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'spice1.proto') 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]; }; -- cgit