Move clearing of target squares to after drag end
authorH.G. Muller <h.g.muller@hccnet.nl>
Thu, 12 Apr 2012 21:58:41 +0000 (23:58 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Thu, 12 Apr 2012 21:58:41 +0000 (23:58 +0200)
commit4f6b19c0d9e3b6a2865aa5c53fd76ae044baf15a
tree598409ebdaa0edaa67f434add8e0870d4099e95b
parentd5d8657d11578db0c80c16bfc592cfa3d308ef18
Move clearing of target squares to after drag end

A dragged piece that would partly overshoot its destination into a square
with a marker would effectively protect that marker from erasing, when the
erasing was done before the piece was released, because redrawal after the
move only would draw the target square. (Unlike erasing, which forces a full
redraw.)
backend.c