summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/red_worker.c3
-rw-r--r--spice.proto2
2 files changed, 1 insertions, 4 deletions
diff --git a/server/red_worker.c b/server/red_worker.c
index 6d821c96..6fd92a76 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -7998,7 +7998,6 @@ static void red_send_qxl_draw_stroke(RedWorker *worker,
RedChannel *channel = &display_channel->base;
SpiceStroke stroke;
SpiceMarshaller *brush_pat_out;
- SpiceMarshaller *path_out;
SpiceMarshaller *style_out;
fill_base(display_channel, item);
@@ -8007,11 +8006,9 @@ static void red_send_qxl_draw_stroke(RedWorker *worker,
stroke = drawable->u.stroke;
spice_marshall_Stroke(channel->send_data.marshaller,
&stroke,
- &path_out,
&style_out,
&brush_pat_out);
- spice_marshall_Path(path_out, stroke.path);
fill_attr(display_channel, style_out, &stroke.attr, item->group_id);
if (brush_pat_out) {
fill_bits(display_channel, brush_pat_out, stroke.brush.u.pattern.pat, item, FALSE);
diff --git a/spice.proto b/spice.proto
index dedf9503..0773f0a4 100644
--- a/spice.proto
+++ b/spice.proto
@@ -726,7 +726,7 @@ channel DisplayChannel : BaseChannel {
message {
DisplayBase base;
struct Stroke {
- Path *path;
+ Path *path @c_ptr @marshall @nonnull;
LineAttr attr;
Brush brush;
uint16 fore_mode;