projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't leave piece selected after piece menu
[xboard.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index
d71b499
..
d08aea0
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-13909,6
+13909,8
@@
EditPositionMenuEvent (ChessSquare selection, int x, int y)
} else
boards[0][y][x] = selection;
DrawPosition(TRUE, boards[0]);
+ ClearHighlights();
+ fromX = fromY = -1;
}
break;
}