X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xoptions.c;h=979399af8edb20fc9df6aee3db3cf15cf7868b48;hb=fd96ae416d3a636f178a64f289c645942fa2d391;hp=2446fb05250ea71135317ccc0e29fa700c67c05f;hpb=0c01e9c47c1bb45e9abaa0451f86bfb60d1b15d6;p=xboard.git diff --git a/xoptions.c b/xoptions.c index 2446fb0..979399a 100644 --- a/xoptions.c +++ b/xoptions.c @@ -569,6 +569,7 @@ GraphEventProc(Widget widget, caddr_t client_data, XEvent *event) } cr = cairo_create((cairo_surface_t *) graph->textValue); cairo_set_source_surface(cr, (cairo_surface_t *) graph->choice, 0, 0); + cairo_set_antialias(cr, CAIRO_ANTIALIAS_NONE); cairo_rectangle(cr, ((XExposeEvent*)event)->x, ((XExposeEvent*)event)->y, ((XExposeEvent*)event)->width, ((XExposeEvent*)event)->height); cairo_fill(cr); cairo_destroy(cr);