Update the redraw priority

The master clock is using the redraw priority to create the source
that will be used to spin the paint sequence if something is being
animated using a timeline.

Unfortunately, the priority is too high and this causes starvation
when embedding into other toolkits -- like gtk+.

Thanks to Havoc Pennington for catching this.
This commit is contained in:
Emmanuele Bassi 2009-05-13 22:20:19 +01:00
parent e59a19bd03
commit 1d7a79f343

View File

@ -70,7 +70,7 @@ GQuark clutter_init_error_quark (void);
*
* Since: 0.8
*/
#define CLUTTER_PRIORITY_REDRAW (G_PRIORITY_DEFAULT + 10)
#define CLUTTER_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20)
/**
* CLUTTER_PRIORITY_TIMELINE: