Finish change in Clear Board
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 1 Jun 2019 12:47:59 +0000 (14:47 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 1 Jun 2019 13:03:54 +0000 (15:03 +0200)
commit566e35a81e83cc2aa4be3174cbff3291909dcb2e
tree879da4f0b24b0022f87ce64583338dd906c2e062
parent27319ed1c84ca0924c10da38f0d9885736fda221
Finish change in Clear Board

Clock clicks in Edit Position mode now first displays a 'palette board',
then clears any non-Kings, then sets up the start position, and finally
restores the position that was erased by the palette board (if that was
different from the start position). This continues cyclically.
  The clearing of non-royals spares the four center squares, which would
have been empty already in an unmodified palette board. This allows a user
that wants to set up a position with very few pieces to first drag those
to the center, before clearing all other non-royals away, and finally
moving what is left to the desired location. That saves him the trouble
of eliminating the unneeded pieces one by one from the pallette board.
backend.c