2008-03-04 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-main.c (clutter_do_event): Do not throttle the
	motion events if the per-actor delivery has been disabled.
This commit is contained in:
Emmanuele Bassi 2008-03-04 16:23:13 +00:00
parent 9a6dfbdbaa
commit 57a954b1eb
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-03-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-main.c (clutter_do_event): Do not throttle the
motion events if the per-actor delivery has been disabled.
2008-03-04 Øyvind Kolås <pippin@o-hand.com>
* clutter/pango/pangoclutter-render.c: (draw_glyph): use g_slice_new0

View File

@ -1424,8 +1424,11 @@ clutter_do_event (ClutterEvent *event)
case CLUTTER_MOTION:
/* avoid rate throttling for synthetic motion events */
if (! (event->any.flags & CLUTTER_EVENT_FLAG_SYNTHETIC))
/* avoid rate throttling for synthetic motion events or if
* the per-actor events are disabled
*/
if (!(event->any.flags & CLUTTER_EVENT_FLAG_SYNTHETIC) ||
!context->motion_events_per_actor)
{
gint32 frame_rate, delta;