Avoid drawing twice if relayout queues a draw
authorOwen W. Taylor <otaylor@redhat.com>
Thu, 12 Mar 2009 19:33:36 +0000 (15:33 -0400)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 13 Mar 2009 15:20:50 +0000 (15:20 +0000)
commite1742af36806b838111b5f6f85422940c64a87b8
treeb8f4de5e4ccd23d1e2d85b2e766d2076c1111ffb
parent72f96468047e76fe8cb40b77cbfd0225c1d05b80
Avoid drawing twice if relayout queues a draw

It's reasonably normal for a relayout of the stage to cause the stage
to be queued for drawing; for this reason we should do the relayout before
we clear stage->update_idle. (But want to clear update_idle() before actually
doing the redraw to handle the corner case where the draw queues another
redraw.)
clutter/clutter-stage.c