Merge branch 'wip/chergert/macos-decelerate' into 'master'

macos: fix typo when creating scroll events

Closes #3418

See merge request GNOME/gtk!2916
This commit is contained in:
Emmanuele Bassi 2020-12-03 22:54:46 +00:00
commit f1ff8f9aad

View File

@ -610,7 +610,7 @@ fill_scroll_event (GdkMacosDisplay *self,
sx = [nsevent scrollingDeltaX];
sy = [nsevent scrollingDeltaY];
if (sx != 0.0 || dx != 0.0)
if (sx != 0.0 || sy != 0.0)
ret = gdk_scroll_event_new (GDK_SURFACE (surface),
pointer,
NULL,