From: H.G.Muller Date: Mon, 21 Mar 2016 10:14:54 +0000 (+0100) Subject: Improve board drawing X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=40c740ae01e3c9694449134e68b7a7bd077fb172;p=xboard.git Improve board drawing The erasing of target-square markers could lead to flashing of the moved piece. It was also ugly when the piece was slipped under a marker. The actual display of the marker change on erasing can now be deferred to a later position draw, and this is used when erasing after a drag-drop move to do it after the move was accepted (so the piece would not be flashed on the from-square, but still displayed without marker on it after the drop). For click-click the erasure is shown before animation starts. A problem with showing deselection when target-square marking was off is now also fixed. --- diff --git a/backend.c b/backend.c index f538477..5a1780d 100644 --- a/backend.c +++ b/backend.c @@ -7431,7 +7431,7 @@ MarkTargetSquares (int clear) if(clear) { // no reason to ever suppress clearing for(x=0; x