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:
parent
9a6dfbdbaa
commit
57a954b1eb
@ -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>
|
2008-03-04 Øyvind Kolås <pippin@o-hand.com>
|
||||||
|
|
||||||
* clutter/pango/pangoclutter-render.c: (draw_glyph): use g_slice_new0
|
* clutter/pango/pangoclutter-render.c: (draw_glyph): use g_slice_new0
|
||||||
|
@ -1424,8 +1424,11 @@ clutter_do_event (ClutterEvent *event)
|
|||||||
|
|
||||||
case CLUTTER_MOTION:
|
case CLUTTER_MOTION:
|
||||||
|
|
||||||
/* avoid rate throttling for synthetic motion events */
|
/* avoid rate throttling for synthetic motion events or if
|
||||||
if (! (event->any.flags & CLUTTER_EVENT_FLAG_SYNTHETIC))
|
* the per-actor events are disabled
|
||||||
|
*/
|
||||||
|
if (!(event->any.flags & CLUTTER_EVENT_FLAG_SYNTHETIC) ||
|
||||||
|
!context->motion_events_per_actor)
|
||||||
{
|
{
|
||||||
gint32 frame_rate, delta;
|
gint32 frame_rate, delta;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user