summaryrefslogtreecommitdiffstats
path: root/spice.proto
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-23 16:20:55 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-23 16:33:07 +0200
commit0c0b4f9e84f43bd94a2241b5b9658a900b4eb437 (patch)
treea6cddecc1704547d4f7df6284cf73e9cc25f5b5f /spice.proto
parentdc8625c7e156a2b1eff16397b4be039ac5da9089 (diff)
downloadspice-0c0b4f9e84f43bd94a2241b5b9658a900b4eb437.tar.gz
spice-0c0b4f9e84f43bd94a2241b5b9658a900b4eb437.tar.xz
spice-0c0b4f9e84f43bd94a2241b5b9658a900b4eb437.zip
Don't send zero data item for clips with no data
Diffstat (limited to 'spice.proto')
-rw-r--r--spice.proto4
1 files changed, 1 insertions, 3 deletions
diff --git a/spice.proto b/spice.proto
index f722e7d7..240ed056 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);