mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1193062 - Give synthesized NSEvents a timestamp that is in the right space. r=smichaud
NSEvent timestamps are relative to the system start time, not to the reference date.
This commit is contained in:
parent
14315a177e
commit
d9c491dfb6
@ -1127,7 +1127,7 @@ nsresult nsChildView::SynthesizeNativeMouseEvent(LayoutDeviceIntPoint aPoint,
|
||||
NSEvent* event = [NSEvent mouseEventWithType:(NSEventType)aNativeMessage
|
||||
location:windowPoint
|
||||
modifierFlags:aModifierFlags
|
||||
timestamp:[NSDate timeIntervalSinceReferenceDate]
|
||||
timestamp:[[NSProcessInfo processInfo] systemUptime]
|
||||
windowNumber:[[mView window] windowNumber]
|
||||
context:nil
|
||||
eventNumber:0
|
||||
|
Loading…
Reference in New Issue
Block a user