mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 19:12:04 +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>
|
2007-03-25 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-event.[ch]: Remove the flags member from
|
* clutter/clutter-event.[ch]: Remove the flags member from
|
||||||
|
@ -357,9 +357,11 @@ clutter_timeline_start (ClutterTimeline *timeline)
|
|||||||
priv = timeline->priv;
|
priv = timeline->priv;
|
||||||
|
|
||||||
if (!priv->timeout_id)
|
if (!priv->timeout_id)
|
||||||
priv->timeout_id = g_timeout_add (FPS_TO_INTERVAL(priv->fps),
|
priv->timeout_id = g_timeout_add_full (G_PRIORITY_DEFAULT + 20
|
||||||
timeline_timeout_func,
|
FPS_TO_INTERVAL (priv->fps),
|
||||||
(gpointer)timeline);
|
timeline_timeout_func,
|
||||||
|
timeline,
|
||||||
|
NULL);
|
||||||
|
|
||||||
g_signal_emit (timeline, timeline_signals[STARTED], 0);
|
g_signal_emit (timeline, timeline_signals[STARTED], 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user