From 31fd48e7737cc373b36a0ff6dbbd3fa07e2ff8f7 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 23 Jun 2010 16:20:55 +0200 Subject: [PATCH] Don't send zero data item for clips with no data --- spice.proto | 4 +--- 1 file changed, 1 insertion(+), 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);