Merge branch 'macos-fix-scroll-unit-build' into 'main'

macos: fix scroll-unit build

See merge request GNOME/gtk!4584
This commit is contained in:
Matthias Clasen 2022-03-19 03:57:48 +00:00
commit eeaa73c12a

View File

@ -644,7 +644,8 @@ fill_scroll_event (GdkMacosDisplay *self,
NULL,
get_time_from_ns_event (nsevent),
state,
0.0, 0.0, TRUE);
0.0, 0.0, TRUE,
GDK_SCROLL_UNIT_SURFACE);
dx = [nsevent deltaX];
dy = [nsevent deltaY];