diff options
author | fvogel <fvogelnew1@free.fr> | 2017-03-11 14:53:52 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-03-11 14:53:52 (GMT) |
commit | 8d4099cddc1f9152244687f2d3479024ab3e1db8 (patch) | |
tree | e18e746de22ac4533e6728b5ab3b52ebb54b3aa0 | |
parent | 72ea4ad7973b2bfe4b92f346dae82919e7d0ae35 (diff) | |
parent | df6fa8964b35117316f9a0195c2e80be5b5e032b (diff) | |
download | tk-8d4099cddc1f9152244687f2d3479024ab3e1db8.zip tk-8d4099cddc1f9152244687f2d3479024ab3e1db8.tar.gz tk-8d4099cddc1f9152244687f2d3479024ab3e1db8.tar.bz2 |
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi.
-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); } /* |