diff options
author | fvogel <fvogelnew1@free.fr> | 2017-03-10 22:12:09 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-03-10 22:12:09 (GMT) |
commit | 3868c00df3c47adbe2cc7fd52c4defd9eac4dc60 (patch) | |
tree | e18e746de22ac4533e6728b5ab3b52ebb54b3aa0 /generic/ttk | |
parent | 2e24d0c47bc384966941918426c1db7cb4592a1d (diff) | |
download | tk-3868c00df3c47adbe2cc7fd52c4defd9eac4dc60.zip tk-3868c00df3c47adbe2cc7fd52c4defd9eac4dc60.tar.gz tk-3868c00df3c47adbe2cc7fd52c4defd9eac4dc60.tar.bz2 |
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi.
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkDefaultTheme.c | 6 |
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); } /* |