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

(cherry picked from commit b4a30877a9)
This commit is contained in:
Michael Natterer 2012-11-18 20:14:32 +01:00
parent f2e05e2b41
commit b55724e3a7

View File

@ -530,7 +530,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;