mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 11:02:05 +00:00
Lower the priority of the ClutterTimeline timeout function; this should
give the events queue processing a better slice of the main event loop.
This commit is contained in:
parent
a88dfe3e7d
commit
6c7b0830b5
@ -1,3 +1,9 @@
|
||||
2007-03-25 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* 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 <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-event.[ch]: Remove the flags member from
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user