mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
updated for version 7.0-065
This commit is contained in:
@@ -2480,6 +2480,12 @@ gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent,
|
|||||||
UInt32 mod;
|
UInt32 mod;
|
||||||
SInt32 delta;
|
SInt32 delta;
|
||||||
int_u vim_mod;
|
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,
|
if (noErr != GetEventParameter(theEvent, kEventParamMouseWheelDelta,
|
||||||
typeSInt32, NULL, sizeof(SInt32), NULL, &delta))
|
typeSInt32, NULL, sizeof(SInt32), NULL, &delta))
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
65,
|
||||||
/**/
|
/**/
|
||||||
64,
|
64,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user