mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-frame-source.c: Small coding style fixes.
This commit is contained in:
parent
af562ad59a
commit
816aa93135
@ -1,3 +1,7 @@
|
|||||||
|
2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-frame-source.c: Small coding style fixes.
|
||||||
|
|
||||||
2008-04-17 Neil Roberts <neil@o-hand.com>
|
2008-04-17 Neil Roberts <neil@o-hand.com>
|
||||||
|
|
||||||
Applied patch from bug #881
|
Applied patch from bug #881
|
||||||
|
@ -111,8 +111,8 @@ clutter_frame_source_prepare (GSource *source, gint *timeout)
|
|||||||
/* If time has gone backwards or the time since the last frame is
|
/* If time has gone backwards or the time since the last frame is
|
||||||
greater than the two frames worth then reset the time and do a
|
greater than the two frames worth then reset the time and do a
|
||||||
frame now */
|
frame now */
|
||||||
if (frame_source->last_time > now || now - frame_source->last_time
|
if (frame_source->last_time > now ||
|
||||||
> frame_source->frame_time * 2)
|
(now - frame_source->last_time) > frame_source->frame_time * 2)
|
||||||
{
|
{
|
||||||
frame_source->last_time = now - frame_source->frame_time;
|
frame_source->last_time = now - frame_source->frame_time;
|
||||||
if (timeout)
|
if (timeout)
|
||||||
|
Loading…
Reference in New Issue
Block a user