From: Bram Moolenaar Date: Tue, 22 Aug 2006 19:36:17 +0000 (+0000) Subject: updated for version 7.0-065 X-Git-Tag: v7.0.065 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=621e2fdb5f96c2cd9b4672f68366130e88af75ca;p=thirdparty%2Fvim.git updated for version 7.0-065 --- diff --git a/src/gui_mac.c b/src/gui_mac.c index e7e5437cae..87575f0f06 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -2480,6 +2480,12 @@ gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent, 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 index a708d30734..1f97a51a5c 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 65, /**/ 64, /**/