summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-23 16:20:55 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:45 +0100
commit31fd48e7737cc373b36a0ff6dbbd3fa07e2ff8f7 (patch)
treea2a947a9540f18d31a35ce6c034d984d0369bc2b
parent1d5d5272e28f8d12f5b93e4d8e5f85561eafda25 (diff)
downloadspice-protocol-31fd48e7737cc373b36a0ff6dbbd3fa07e2ff8f7.tar.gz
spice-protocol-31fd48e7737cc373b36a0ff6dbbd3fa07e2ff8f7.tar.xz
spice-protocol-31fd48e7737cc373b36a0ff6dbbd3fa07e2ff8f7.zip
Don't send zero data item for clips with no data
-rw-r--r--spice.proto4
1 files changed, 1 insertions, 3 deletions
diff --git a/spice.proto b/spice.proto
index f722e7d..240ed05 100644
--- a/spice.proto
+++ b/spice.proto
@@ -412,9 +412,7 @@ struct Path {
struct Clip {
clip_type type;
switch (type) {
- case NONE:
- uint64 data @zero;
- case RECTS:
+ case RECTS:
ClipRects *data @outvar(cliprects);
case PATH:
Path *data @outvar(clippath);