mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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:
parent
55e26e23df
commit
af22290f0d
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user