forked from AuroraMiddleware/gtk
quartz: use the real current event time for generated motion events
This commit is contained in:
parent
1a2509a6ab
commit
b4a30877a9
@ -582,7 +582,7 @@ generate_motion_event (GdkWindow *window)
|
||||
|
||||
event->any.type = GDK_MOTION_NOTIFY;
|
||||
event->motion.window = window;
|
||||
event->motion.time = GDK_CURRENT_TIME;
|
||||
event->motion.time = get_time_from_ns_event ([NSApp currentEvent]);
|
||||
event->motion.x = x;
|
||||
event->motion.y = y;
|
||||
event->motion.x_root = x_root;
|
||||
|
Loading…
Reference in New Issue
Block a user