diff options
| author | Alexander Larsson <alexl@redhat.com> | 2010-06-24 14:30:00 +0200 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:45 +0100 |
| commit | 7578be4a2398e0d00ddb6aefdeae0d77c32ea67d (patch) | |
| tree | 4ac9c420f8dcabb647f93514f1c7339232a1f00a | |
| parent | fc30c38a9499c476c5506d5dd6fdaa64fb1808dd (diff) | |
Remove support for clip by path
This is not supported currently anyway and was not generated before.
| -rw-r--r-- | spice.proto | 5 | ||||
| -rw-r--r-- | spice1.proto | 11 |
2 files changed, 5 insertions, 11 deletions
diff --git a/spice.proto b/spice.proto index 199fa38..acb9488 100644 --- a/spice.proto +++ b/spice.proto @@ -253,8 +253,7 @@ channel MainChannel : BaseChannel { enum32 clip_type { NONE, - RECTS, - PATH, + RECTS }; flags32 path_flags { /* TODO: C enum names changes */ @@ -414,8 +413,6 @@ struct Clip { switch (type) { case RECTS: ClipRects *data @outvar(cliprects); - case PATH: - Path *data @outvar(clippath); } u @anon; }; diff --git a/spice1.proto b/spice1.proto index 0efe74b..dbe57b5 100644 --- a/spice1.proto +++ b/spice1.proto @@ -253,8 +253,7 @@ channel MainChannel : BaseChannel { enum32 clip_type { NONE, - RECTS, - PATH, + RECTS }; flags32 path_flags { /* TODO: C enum names changes */ @@ -382,12 +381,10 @@ 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); + default: + uint64 data @zero; } u @anon; }; |
