summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-03-26 13:16:37 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-03-26 13:16:37 (GMT)
commit2fee50e1e568b4542d831989ccac2946a744da3b (patch)
treeae9bce56f15127e87d91dd60d4e9c404f0452fd3 /generic
parent046813684f5fcdd4764db7fc53922266d6eb1586 (diff)
parentf544ca9012f54c92d4f16cfe372e86e384d9a7c1 (diff)
downloadtk-2fee50e1e568b4542d831989ccac2946a744da3b.zip
tk-2fee50e1e568b4542d831989ccac2946a744da3b.tar.gz
tk-2fee50e1e568b4542d831989ccac2946a744da3b.tar.bz2
merge core-8-6-branchtip_464
Diffstat (limited to 'generic')
-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);
}
/*