mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user