From: H.G. Muller Date: Tue, 22 Oct 2013 15:16:13 +0000 (+0200) Subject: Fix hover event (again) X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=daf0fb324ca20ca54b49b1604dbc3d4ecf9ecf85;p=xboard.git Fix hover event (again) --- diff --git a/backend.c b/backend.c index 8035673..839b44f 100644 --- a/backend.c +++ b/backend.c @@ -7175,12 +7175,15 @@ Mark (Board board, int flags, ChessMove kind, int rf, int ff, int rt, int ft, VO else if(flags & F_MANDATORY_CAPTURE && board[rt][ft] != EmptySquare) (*m)[rt][ft] = 3; } +static int hoverSavedValid; + void MarkTargetSquares (int clear) { int x, y, sum=0; if(clear) { // no reason to ever suppress clearing - for(x=0; x