diff options
| author | Mario Lang <mlang@delysid.org> | 2014-03-30 17:07:11 +0200 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2014-03-30 17:07:11 +0200 |
| commit | 045a93cb98dfd320e756ea9d9799ea92f0900bc6 (patch) | |
| tree | 9fc4866e41c4beccba91422ce8df4270800f9d58 /chess-pos.el | |
| parent | 6cf486ed5c05ccf7af0b0f569a574c2f9a221364 (diff) | |
Try to fix a reentrancy bug in chess-display-move.
The problem occurs with engine modules which reply to move events with move
events directly, i.e. cvhess-ai and chess-uci when replying with a book move.
Since chess-display-move first performs chess-game-move followed by
chess-display-paint-move, we end up with the plies getting painted in reverse.
This is visible when pieces are taken.
If we paint the move first and then emit the move event on the game,
the problem goes away.
Diffstat (limited to 'chess-pos.el')
0 files changed, 0 insertions, 0 deletions
