X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=draw.c;h=f7cbe1bf186c4e9a0aff520e6c39eb609b0216b0;hb=053dc1f79f78ff5d5d4d0f625f68a7d8076a30a0;hp=02c280534b1f58fa6b4c43e8f6c4cdf195c472a9;hpb=f360f5c49d27a95ca64e5755c42156ee1f7e95db;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