X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=564b95ea45faed2ac146d4ce9cf6bcbc8617c30a;hb=ba7645365e2048776a32c813e39e5c7ae53dea6f;hp=69775951df22254b7df3a96f709862eb1379afb8;hpb=395642a0ccce8adbc55d4c8ff58780ab07c12813;p=xboard.git diff --git a/backend.c b/backend.c index 6977595..564b95e 100644 --- a/backend.c +++ b/backend.c @@ -7102,6 +7102,9 @@ LeftClick (ClickType clickType, int xPix, int yPix) return; } doubleClick = FALSE; + if(gameMode == AnalyzeMode && pausing && first.excludeMoves) { // use pause state to exclude moves + doubleClick = TRUE; gatingPiece = boards[currentMove][y][x]; + } fromX = x; fromY = y; toX = toY = -1; if(!appData.oneClick || !OnlyMove(&x, &y, FALSE) || // even if only move, we treat as normal when this would trigger a promotion popup, to allow sweep selection @@ -13379,6 +13382,7 @@ PauseEvent () WhiteOnMove(forwardMostMove))) { StopClocks(); } + case AnalyzeMode: pausing = TRUE; ModeHighlight(); break;