X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=1a918ed0fc17ccfba1d6d30a0b36ef02b0339001;hb=bd85ed7a2aac57e6afa8fdab7f3a13ce22910b18;hp=5bcbc0b60c6a27930375a8fb9c6119e006ab6ce2;hpb=729cea0f6cc7830c65b801eb7172ef68d57c2ff7;p=xboard.git diff --git a/dialogs.c b/dialogs.c index 5bcbc0b..1a918ed 100644 --- a/dialogs.c +++ b/dialogs.c @@ -2178,7 +2178,7 @@ Exp (int n, int x, int y) if(n == 0) { // motion if(SeekGraphClick(Press, x, y, 1)) return NULL; - if(but1 && !PromoScroll(x, y)) DragPieceMove(x, y); + if((but1 || dragging == 2) && !PromoScroll(x, y)) DragPieceMove(x, y); if(but3) MovePV(x, y, lineGap + BOARD_HEIGHT * (squareSize + lineGap)); if(appData.highlightDragging) { f = EventToSquare(x, BOARD_WIDTH); if ( flipView && f >= 0) f = BOARD_WIDTH - 1 - f;