From af22290f0d8822105c11f038723bbb3e4d0c3471 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 2 Feb 2011 14:41:57 +0000 Subject: [PATCH] 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. --- clutter/osx/clutter-event-osx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clutter/osx/clutter-event-osx.c b/clutter/osx/clutter-event-osx.c index 4e639da79..10630a634 100644 --- a/clutter/osx/clutter-event-osx.c +++ b/clutter/osx/clutter-event-osx.c @@ -396,12 +396,14 @@ clutter_event_osx_translate (NSEvent *nsevent, } void -_clutter_event_osx_put (NSEvent *nsevent, +_clutter_event_osx_put (NSEvent *nsevent, ClutterStage *wrapper) { ClutterEvent *event = clutter_event_new (CLUTTER_NOTHING); + /* common fields */ event->any.stage = wrapper; + event->any.time = [nsevent clutterTime]; if (clutter_event_osx_translate (nsevent, &event)) {