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