From e68184728aca2c7547dbfa90667e5be2d7ca97e3 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 11 Feb 2012 17:15:11 +0100 Subject: [PATCH] Fix switching animation masks on variant switch 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 | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/xboard.c b/xboard.c index e4aec19..92f9bf7 100644 --- 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) -- 1.7.0.4