From: H.G.Muller Date: Thu, 13 Nov 2014 19:23:57 +0000 (+0100) Subject: Fix click-click moving with -monoMouse X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=624048ee61b5b5de2934df02474e6b25b0b931e0;p=xboard.git Fix click-click moving with -monoMouse A to-click should never be interpreted as button 3. --- 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;