OK, I found the problem. Dragging a piece clears it from its original square,
but that square was not marked as 'damaged' to prevent the piece (which in
reality is still there) to be drawn when the highlights are drawn when you
release it (which would make it flash on that square before you see the new
position). This backfired for illegal moves, though, where the piece should
be re-drawn on its original square. I now let the move error order a complete
redraw, in stead of a selective one (that only repairs damage).

For now the fixed version is only available at http://hgm.nubati.net/cgi-bin/gitweb.cgi .

Thanks for reporting the problem.

_______________________________________________
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to