X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=0026207b752bd3b74c727b860c88da1656de28d7;hb=4a538e46ba98f9cca1d9c156347e5bfc3952b160;hp=caaeabd75756fab13ae2ef9407447f37c5c9b878;hpb=4d7556e74c252042c249057ed4d9eafbe070e97d;p=xboard.git diff --git a/backend.c b/backend.c index caaeabd..0026207 100644 --- a/backend.c +++ b/backend.c @@ -6439,8 +6439,9 @@ void LeftClick(ClickType clickType, int xPix, int yPix) MarkTargetSquares(0); DragPieceBegin(xPix, yPix); } - return; } + if(x == fromX && y == fromY) return; // if OnlyMove altered (x,y) we go on + second = FALSE; } // ignore clicks on holdings if(x < BOARD_LEFT || x >= BOARD_RGHT) return;