Preserve window width on board-format change
authorH.G. Muller <h.g.muller@hccnet.nl>
Fri, 21 Feb 2014 10:10:41 +0000 (11:10 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sun, 2 Mar 2014 18:04:47 +0000 (19:04 +0100)
commit562bc6ef0a03544438acade21408653cfd1c4075
tree725ed67bc3465cb12abf6ed8ff0a06768561ec21
parent95bcf4c69c5c7c40bcecdf5624ca622a9373701e
Preserve window width on board-format change

When a variant switch would cause recalculation of the board window,
we now first recalculate square size to keep the window width fixed.
Also adapt initial width on high boards.
draw.c
gtk/xboard.c
xaw/xboard.c