From: H.G. Muller Date: Fri, 23 Oct 2009 04:30:08 +0000 (-0700) Subject: improved mouse handler X-Git-Tag: v4.4.1.20091022~3 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=8826788c164344668b480dc439d6fb98a864ae0b;p=xboard.git improved mouse handler The improved mouse handler still needed an extra call to DrawPosition to work in XBoard. --- diff --git a/backend.c b/backend.c index 4582baa..7cd8dd7 100755 --- a/backend.c +++ b/backend.c @@ -5670,6 +5670,7 @@ void LeftClick(ClickType clickType, int xPix, int yPix) if(x >= 0 && x < BOARD_LEFT || x >= BOARD_RGHT) { ClearHighlights(); fromX = fromY = -1; + DrawPosition(FALSE, NULL); return; }