From edc58993ec81824d2822f0aa623fcbaa0a679fa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
Date: Mon, 20 Mar 2017 15:18:30 +0000
Subject: [PATCH] Related: tdf#106577 extend damage rect a little for
TrackFrame
Change-Id: I007ab53ba841c7c4a0f13bc9e7e306e88303191f
---
vcl/headless/svpgdi.cxx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 925a5adecd55..8449c9988da0 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -1189,6 +1189,10 @@ void SvpSalGraphics::invert(const basegfx::B2DPolygon &rPoly, SalInvert nFlags)
cairo_set_dash(cr, dashLengths, 2, 0);
extents = getClippedStrokeDamage(cr);
+ //see tdf#106577 under wayland, some pixel droppings seen, maybe we're
+ //out by one somewhere, or cairo_stroke_extents is confused by
+ //dashes/line width
+ extents.grow(1);
cairo_stroke(cr);
}
--
2.17.1