projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
adbe350
)
Let WB eval graph react ot single left-click
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 9 Jul 2011 11:13:49 +0000 (13:13 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 9 Jul 2011 11:13:49 +0000 (13:13 +0200)
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).
winboard/wevalgraph.c
patch
|
blob
|
history
diff --git
a/winboard/wevalgraph.c
b/winboard/wevalgraph.c
index
315be9f
..
1adf410
100644
(file)
--- 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 );
\r
break;
\r
\r
- case WM_LBUTTONDBLCLK:
\r
+ case WM_LBUTTONDOWN:
\r
if( wParam == 0 || wParam == MK_LBUTTON ) {
\r
int index = GetMoveIndexFromPoint( LOWORD(lParam), HIWORD(lParam) );
\r
\r