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://hgm.nubati.net/cgi-bin/gitweb.cgi?p=xboard.git;a=commitdiff_plain;h=624048ee61b5b5de2934df02474e6b25b0b931e0;hp=c7f63aacef9cbcd5b46d6d7693d95d9584786106 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 c4c5bf33..f969aba5 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;