From 624048ee61b5b5de2934df02474e6b25b0b931e0 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Thu, 13 Nov 2014 20:23:57 +0100 Subject: [PATCH] Fix click-click moving with -monoMouse A to-click should never be interpreted as button 3. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index c4c5bf3..f969aba 100644 --- a/backend.c +++ b/backend.c @@ -7388,7 +7388,7 @@ LeftClick (ClickType clickType, int xPix, int yPix) x = BOARD_WIDTH - 1 - x; } - if(appData.monoMouse && gameMode == EditPosition && clickType == Press && boards[currentMove][y][x] == EmptySquare) { + if(appData.monoMouse && gameMode == EditPosition && fromX < 0 && clickType == Press && boards[currentMove][y][x] == EmptySquare) { static int dummy; RightClick(clickType, xPix, yPix, &dummy, &dummy); right = TRUE; -- 1.7.0.4