Blame SOURCES/0001-Related-tdf-106577-extend-damage-rect-a-little-for-T.patch

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