Follow-up Comment #15, bug #27715 (project xboard):
I see in my enthusiasm, I regressed something. VariantSwitch should force a
full redraw of the current board (boards[currentMove]), not of the initial
position (what InitPosition(TRUE) would do.)
To prevent the flicker when giving an smoves command by hand, it would be
better to leave Reset(FALSE, ...) in the mentioned position, and force it
after the full move list has been read in stead (slightly after
FeedMovesToProgram() is used to send the moves to the program):
if (gameMode == IcsObserving && ics_gamenum == -1) {
/* Moves came from oldmoves or moves command
while we weren't doing anything else.
*/
currentMove = forwardMostMove;
ClearHighlights();/*!!could figure this out*/
flipView = appData.flipView;
DrawPosition(TRUE, boards[currentMove]);
DisplayBothClocks();
I will change it accordingly.
H.G. Muller
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27715>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-XBoard mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xboard