summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk/quartz/gdkevents-quartz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index b93c412ec8..0d3cdc9650 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -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;