mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2007-10-15 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c: More events documentation. * clutter/clutter-event.c: * clutter/clutter-event.h: Add synthetic flag and make put_event use it (via modded patch from pippin) * clutter/clutter-main.c: (clutter_do_event): dont use put event anymore when pushing enter/leave events.
This commit is contained in:
@ -1310,7 +1310,8 @@ clutter_do_event (ClutterEvent *event)
|
||||
/* unref in free */
|
||||
cev.crossing.related = g_object_ref (actor);
|
||||
|
||||
clutter_event_put (&cev); /* copys */
|
||||
g_queue_push_head (context->events_queue,
|
||||
clutter_event_copy (&cev));
|
||||
|
||||
cev.crossing.type = CLUTTER_ENTER;
|
||||
cev.crossing.time = event->any.time;
|
||||
@ -1320,7 +1321,8 @@ clutter_do_event (ClutterEvent *event)
|
||||
cev.crossing.source = actor;
|
||||
cev.crossing.related = g_object_ref (motion_last_actor);
|
||||
|
||||
clutter_event_put (&cev);
|
||||
g_queue_push_head (context->events_queue,
|
||||
clutter_event_copy (&cev));
|
||||
}
|
||||
}
|
||||
motion_last_actor = actor;
|
||||
|
Reference in New Issue
Block a user