Indeed, this works as designed, and that this is on a pre-move is just co-incidental. It seems that the desired behavior is that after rejection of a pre-move (or any move) the original state of the highlights is restored, though. In principle that should be possible. I can imagine that this is most desirable on a premove, where the rejection would be instantly, so that the user never gets the chance to see the opponent move.
_______________________________________________ Bug-XBoard mailing list Bug-XBoard@gnu.org https://lists.gnu.org/mailman/listinfo/bug-xboard