aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'pugl')
-rw-r--r--pugl/detail/mac.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index 78a6d39..d964b7e 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -410,8 +410,8 @@ handleCrossing(PuglOpenGLView* view, NSEvent* event, const PuglEventType type)
rloc.x,
[[NSScreen mainScreen] frame].size.height - rloc.y,
getModifiers(event),
- [event deltaX],
- [event deltaY]
+ [event scrollingDeltaX],
+ [event scrollingDeltaY]
};
puglDispatchEvent(puglview, (const PuglEvent*)&ev);
}