# HG changeset patch # User vimboss # Date 1156275377 0 # Node ID 31208ed42de95ba5738675cb78bd0f66c34ed785 # Parent fc0c566b91075643f259863d171bb253703698bf updated for version 7.0-065 diff --git a/src/gui_mac.c b/src/gui_mac.c --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -2480,6 +2480,12 @@ gui_mac_mouse_wheel(EventHandlerCallRef UInt32 mod; SInt32 delta; int_u vim_mod; + EventMouseWheelAxis axis; + + if (noErr == GetEventParameter(theEvent, kEventParamMouseWheelAxis, + typeMouseWheelAxis, NULL, sizeof(axis), NULL, &axis) + && axis != kEventMouseWheelAxisY) + goto bail; /* Vim only does up-down scrolling */ if (noErr != GetEventParameter(theEvent, kEventParamMouseWheelDelta, typeSInt32, NULL, sizeof(SInt32), NULL, &delta)) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 65, +/**/ 64, /**/ 63,