Fix animation
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 17 Oct 2012 17:41:11 +0000 (19:41 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Tue, 6 Nov 2012 13:13:55 +0000 (14:13 +0100)
commit053dc1f79f78ff5d5d4d0f625f68a7d8076a30a0
tree433d91c1aeb0795c9797ed46de7d361d1073b27c
parentf360f5c49d27a95ca64e5755c42156ee1f7e95db
Fix animation

Because FrameDelay does block the event loop, even though it releaes the
CPU, expose events start to lag behind the actual drawing. By combining
expose events for overlapping squares, rather than decompose them into
3 rectangles, this problem seems to go away. But only if there is an
extra exposure on the squares to be drawn also non-overlapping frames
will be properly drawn (?!).
board.c
draw.c
xboard.c
xoptions.c