Mirror of the Vim source from https://github.com/vim/vim
リビジョン | 31208ed42de95ba5738675cb78bd0f66c34ed785 (tree) |
---|---|
日時 | 2006-08-23 04:36:17 |
作者 | vimboss |
コミッター | vimboss |
updated for version 7.0-065
@@ -2480,6 +2480,12 @@ | ||
2480 | 2480 | UInt32 mod; |
2481 | 2481 | SInt32 delta; |
2482 | 2482 | int_u vim_mod; |
2483 | + EventMouseWheelAxis axis; | |
2484 | + | |
2485 | + if (noErr == GetEventParameter(theEvent, kEventParamMouseWheelAxis, | |
2486 | + typeMouseWheelAxis, NULL, sizeof(axis), NULL, &axis) | |
2487 | + && axis != kEventMouseWheelAxisY) | |
2488 | + goto bail; /* Vim only does up-down scrolling */ | |
2483 | 2489 | |
2484 | 2490 | if (noErr != GetEventParameter(theEvent, kEventParamMouseWheelDelta, |
2485 | 2491 | typeSInt32, NULL, sizeof(SInt32), NULL, &delta)) |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 65, | |
671 | +/**/ | |
670 | 672 | 64, |
671 | 673 | /**/ |
672 | 674 | 63, |