From: H.G. Muller Date: Sat, 9 Jul 2011 11:13:49 +0000 (+0200) Subject: Let WB eval graph react ot single left-click X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=779f4452481365234bef2f236b196be64b628c44;p=xboard.git Let WB eval graph react ot single left-click Unlike in XBoard, the WinBoard eval graph awatys had required double- clicking to go the the corresponding move, while there really is no reason for this, as it is no text edit, and single-clicks have no function (like select). --- diff --git a/winboard/wevalgraph.c b/winboard/wevalgraph.c index 315be9f..1adf410 100644 --- a/winboard/wevalgraph.c +++ b/winboard/wevalgraph.c @@ -212,7 +212,7 @@ LRESULT CALLBACK EvalGraphProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM l ReleaseDC( hDlg, hDC ); break; - case WM_LBUTTONDBLCLK: + case WM_LBUTTONDOWN: if( wParam == 0 || wParam == MK_LBUTTON ) { int index = GetMoveIndexFromPoint( LOWORD(lParam), HIWORD(lParam) );