]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0-065 v7.0.065
authorBram Moolenaar <Bram@vim.org>
Tue, 22 Aug 2006 19:36:17 +0000 (19:36 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 22 Aug 2006 19:36:17 +0000 (19:36 +0000)
src/gui_mac.c
src/version.c

index e7e5437cae4c0ae9466534ffe0f9eb828ee357cc..87575f0f06d317cc12e839149d0c967c5ea29d7d 100644 (file)
@@ -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))
index a708d307341ad81d38d00e0689a4955931da5878..1f97a51a5c915ee4a9c88eef4a69a2bb563f9d89 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    65,
 /**/
     64,
 /**/