summaryrefslogtreecommitdiff
path: root/spice1.proto
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-24 14:30:00 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-24 14:30:00 +0200
commit9655dc30e99ee0fd75cce4de7f436849c15228d1 (patch)
tree29f027b42e3952080abbfd8a617d3f6acdf54757 /spice1.proto
parent9c504f23ef911b13cbd582d53ff104eec318100b (diff)
Remove support for clip by path
This is not supported currently anyway and was not generated before.
Diffstat (limited to 'spice1.proto')
-rw-r--r--spice1.proto11
1 files changed, 4 insertions, 7 deletions
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;
};