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

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