projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
26361fd
)
Connect Ctrl key in WinBoard
author
H.G. Muller
<h.g.muller@hccnet.nl>
Fri, 8 Feb 2013 15:24:23 +0000 (16:24 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Fri, 8 Feb 2013 15:24:23 +0000 (16:24 +0100)
The Control key is now checked during move entry, for excluding moves
during analysis, or for copying pieces when editing a positions. But the
WB front-end did not read it out yet!
winboard/winboard.c
patch
|
blob
|
history
diff --git
a/winboard/winboard.c
b/winboard/winboard.c
index
1359d20
..
1c41752
100644
(file)
--- a/
winboard/winboard.c
+++ b/
winboard/winboard.c
@@
-4258,6
+4258,7
@@
MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
}
\r
\r
shiftKey = GetKeyState(VK_SHIFT) < 0; // [HGM] remember last shift status
\r
+ controlKey = GetKeyState(VK_CONTROL) < 0; // [HGM] remember last shift status
\r
\r
switch (message) {
\r
case WM_LBUTTONDOWN:
\r