summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-03-11 14:55:27 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-03-11 14:55:27 (GMT)
commit8356b50cc915367d0bf4cf242de5374d5055c28d (patch)
tree0159d45b78a7d054a2ba66277a290f0424fee9a0
parente65e0cbfec7382dac4000b68158936ad573d6716 (diff)
parent8d4099cddc1f9152244687f2d3479024ab3e1db8 (diff)
downloadtk-8356b50cc915367d0bf4cf242de5374d5055c28d.zip
tk-8356b50cc915367d0bf4cf242de5374d5055c28d.tar.gz
tk-8356b50cc915367d0bf4cf242de5374d5055c28d.tar.bz2
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi.
-rw-r--r--generic/ttk/ttkDefaultTheme.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/ttk/ttkDefaultTheme.c b/generic/ttk/ttkDefaultTheme.c
index 81f8126..4a06192 100644
--- a/generic/ttk/ttkDefaultTheme.c
+++ b/generic/ttk/ttkDefaultTheme.c
@@ -209,6 +209,9 @@ void TtkFillArrow(
ArrowPoints(b, dir, points);
XFillPolygon(display, d, gc, points, 3, Convex, CoordModeOrigin);
XDrawLines(display, d, gc, points, 4, CoordModeOrigin);
+
+ /* Work around bug [77527326e5] - ttk artifacts on Ubuntu */
+ XDrawPoint(display, d, gc, points[2].x, points[2].y);
}
/*public*/
@@ -218,6 +221,9 @@ void TtkDrawArrow(
XPoint points[4];
ArrowPoints(b, dir, points);
XDrawLines(display, d, gc, points, 4, CoordModeOrigin);
+
+ /* Work around bug [77527326e5] - ttk artifacts on Ubuntu */
+ XDrawPoint(display, d, gc, points[2].x, points[2].y);
}
/*