osx: Re-add the event time

Some overzealous diffing led to a missing call to setting the time of a
ClutterEvent from the corresponding NSEvent.
This commit is contained in:
Emmanuele Bassi 2011-02-02 14:41:57 +00:00
parent 55e26e23df
commit af22290f0d

View File

@ -396,12 +396,14 @@ clutter_event_osx_translate (NSEvent *nsevent,
} }
void void
_clutter_event_osx_put (NSEvent *nsevent, _clutter_event_osx_put (NSEvent *nsevent,
ClutterStage *wrapper) ClutterStage *wrapper)
{ {
ClutterEvent *event = clutter_event_new (CLUTTER_NOTHING); ClutterEvent *event = clutter_event_new (CLUTTER_NOTHING);
/* common fields */
event->any.stage = wrapper; event->any.stage = wrapper;
event->any.time = [nsevent clutterTime];
if (clutter_event_osx_translate (nsevent, &event)) if (clutter_event_osx_translate (nsevent, &event))
{ {