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 | df6fa8964b35117316f9a0195c2e80be5b5e032b (patch) | |
tree | e18e746de22ac4533e6728b5ab3b52ebb54b3aa0 /generic | |
parent | 72ea4ad7973b2bfe4b92f346dae82919e7d0ae35 (diff) | |
download | tk-df6fa8964b35117316f9a0195c2e80be5b5e032b.zip tk-df6fa8964b35117316f9a0195c2e80be5b5e032b.tar.gz tk-df6fa8964b35117316f9a0195c2e80be5b5e032b.tar.bz2 |
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi.bug_77527326e5
Diffstat (limited to 'generic')
-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); } /* |