quartz: use the real current event time for generated motion events

This commit is contained in:
Michael Natterer 2012-11-18 20:14:32 +01:00
parent 1a2509a6ab
commit b4a30877a9

View File

@ -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;