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