From: H.G. Muller Date: Wed, 10 Oct 2012 15:25:25 +0000 (+0200) Subject: Fix alignment of highlight expose X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=bb308d141da0e79f9010aef7eb48f1d4044bab4e;p=xboard.git Fix alignment of highlight expose --- diff --git a/draw.c b/draw.c index 34b525c..25965cb 100644 --- a/draw.c +++ b/draw.c @@ -516,7 +516,7 @@ DrawBorder (int x, int y, int type) SetPen(cr, lineGap, col, 0); cairo_stroke(cr); cairo_destroy(cr); - DrawExpose(NULL, x, y, squareSize+2*lineGap, squareSize+2*lineGap); + DrawExpose(NULL, x - lineGap/2, y - lineGap/2, squareSize+2*lineGap, squareSize+2*lineGap); } static int