diff --git a/ChangeLog b/ChangeLog index f5cf8fb29..ab1aa12ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-03-25 Emmanuele Bassi + + * clutter/clutter-timeline.c: Slightly lower the proiority + of the ClutterTimeline tick, so that events get a higher + priority in the main loop. + 2007-03-25 Emmanuele Bassi * clutter/clutter-event.[ch]: Remove the flags member from diff --git a/clutter/clutter-timeline.c b/clutter/clutter-timeline.c index c9ad906ae..f963e00d3 100644 --- a/clutter/clutter-timeline.c +++ b/clutter/clutter-timeline.c @@ -357,9 +357,11 @@ clutter_timeline_start (ClutterTimeline *timeline) priv = timeline->priv; if (!priv->timeout_id) - priv->timeout_id = g_timeout_add (FPS_TO_INTERVAL(priv->fps), - timeline_timeout_func, - (gpointer)timeline); + priv->timeout_id = g_timeout_add_full (G_PRIORITY_DEFAULT + 20 + FPS_TO_INTERVAL (priv->fps), + timeline_timeout_func, + timeline, + NULL); g_signal_emit (timeline, timeline_signals[STARTED], 0); }