Clear highlights after moving piece in Edit Position
[xboard.git] / backend.c
index 2ccc54d..48a625a 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -7095,6 +7095,7 @@ UserMoveEvent(int fromX, int fromY, int toX, int toY, int promoChar)
                }
            } else
            boards[0][fromY][fromX] = gatingPiece;
+           ClearHighlights();
            DrawPosition(FALSE, boards[currentMove]);
            return;
        }