projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4f1c0dc
)
improved mouse handler
author
H.G. Muller
<h.g.muller@hccnet.nl>
Fri, 23 Oct 2009 04:30:08 +0000 (21:30 -0700)
committer
Arun Persaud
<arun@nubati.net>
Fri, 23 Oct 2009 04:30:08 +0000 (21:30 -0700)
The improved mouse handler still needed an extra call to DrawPosition to
work in XBoard.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
4582baa
..
7cd8dd7
100755
(executable)
--- a/
backend.c
+++ b/
backend.c
@@
-5670,6
+5670,7
@@
void LeftClick(ClickType clickType, int xPix, int yPix)
if(x >= 0 && x < BOARD_LEFT || x >= BOARD_RGHT) {
ClearHighlights();
fromX = fromY = -1;
+ DrawPosition(FALSE, NULL);
return;
}