X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=draw.c;h=f7cbe1bf186c4e9a0aff520e6c39eb609b0216b0;hb=868622bc4b4ac3f5179909e9776ebcb309dd01c9;hp=02c280534b1f58fa6b4c43e8f6c4cdf195c472a9;hpb=aa694af0138b799c4de3e031d15c2a9be3112b6c;p=xboard.git diff --git a/draw.c b/draw.c index 02c2805..f7cbe1b 100644 --- a/draw.c +++ b/draw.c @@ -778,8 +778,8 @@ void CopyRectangle (AnimNr anr, int srcBuf, int destBuf, cairo_rectangle (cr, destX, destY, width, height); cairo_fill (cr); cairo_destroy (cr); - if(c_animBufs[anr+destBuf] == csBoardWindow) - GraphExpose(currBoard, destX, destY, squareSize, squareSize); + if(c_animBufs[anr+destBuf] == csBoardWindow) // suspect that GTK needs this! + GraphExpose(currBoard, destX, destY, width, height); } void