projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8b68405
)
Fix switching animation masks on variant switch
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 11 Feb 2012 16:15:11 +0000 (17:15 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 11 Feb 2012 16:15:11 +0000 (17:15 +0100)
The masks for variant-dependent piees (E,H in Seirawan, promoted Golds
in Shogi, the Gothic Chancellor) were no longer updated in InitDrawingSizes
because of the patch to reduce X-server calls.
xboard.c
patch
|
blob
|
history
diff --git
a/xboard.c
b/xboard.c
index
e4aec19
..
92f9bf7
100644
(file)
--- a/
xboard.c
+++ b/
xboard.c
@@
-1816,6
+1816,7
@@
InitDrawingSizes (BoardSize boardSize, int flags)
}
}
}
+ oldMono = -10; // kludge to force recreation of animation masks
}
#if HAVE_LIBXPM
if(appData.monoMode != oldMono)