At 12:08 10-11-2011 +0100, Michel Van den Bergh wrote:
This is normally how drawing should be done. Otherwise you have flicker.
Well, it seems the old XBoard code did not need this, because it was extremely clever in finding out what covered what, and only copied the visible parts. But this code has been disabled now, and the GTK code for dragging the piece is of the more straightforward 'background first' type. The dragging is only a minor cosmetic problem, though. The problem in animateMoving is far worse; there the stuff that is supposed to be drawn gets really overwritten by the background (presumably through undesired calls to DrawPosition in the expose-event handler), so that it is permanently erased.
