summaryrefslogtreecommitdiffstats
path: root/spice1.proto
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-30 16:49:50 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-06-30 22:35:17 +0200
commit00e1caf45d1a5d40f428c3e43d2c79578c841e75 (patch)
tree40f290cde64de9a93e600522aed525749e78e13e /spice1.proto
parent62d0c076eb2eb0f9954c3870f31b4dd685e5f95c (diff)
downloadspice-00e1caf45d1a5d40f428c3e43d2c79578c841e75.tar.gz
spice-00e1caf45d1a5d40f428c3e43d2c79578c841e75.tar.xz
spice-00e1caf45d1a5d40f428c3e43d2c79578c841e75.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 0150de22..c9a18d9f 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];
};