X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.c;h=87b1830023f6cdc4cc66b1d4bdedeb43225ad472;hb=56310c5b198bc521e0a715377c68378b7bcf10a5;hp=17dccddb27531596bd958251fe113c267e4ebe00;hpb=0370d2ff673ad5bf2ada84787fdd6b20b41c831c;p=xboard.git diff --git a/winboard/winboard.c b/winboard/winboard.c index 17dccdd..87b1830 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -4067,10 +4067,11 @@ SetupDropMenu(HMENU hmenu) } } -void DragPieceBegin(int x, int y) +void DragPieceBegin(int x, int y, Boolean instantly) { dragInfo.lastpos.x = boardRect.left + x; dragInfo.lastpos.y = boardRect.top + y; + if(instantly) dragInfo.pos = dragInfo.lastpos; dragInfo.from.x = fromX; dragInfo.from.y = fromY; dragInfo.piece = boards[currentMove][fromY][fromX]; @@ -9823,6 +9824,8 @@ HistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current ) MoveHistorySet( movelist, first, last, current, pvInfoList ); EvalGraphSet( first, last, current, pvInfoList ); + + MakeEngineOutputTitle(); } void