Mercurial > vim
diff src/option.h @ 18526:334b1f897f3a v8.1.2257
patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Commit: https://github.com/vim/vim/commit/ae20f340adc8c96aeec5cff5ef4f2129035ffca4
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 5 21:09:23 2019 +0100
patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Problem: MS-Windows GUI: scroll wheel always uses current window.
Solution: Add the 'scrollfocus' option for MS-Windows.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 05 Nov 2019 21:15:04 +0100 |
parents | 18d7337b6837 |
children | 8b0114ffde2b |
line wrap: on
line diff
--- a/src/option.h +++ b/src/option.h @@ -814,6 +814,9 @@ EXTERN char_u *p_ruf; // 'rulerformat' EXTERN char_u *p_pp; // 'packpath' EXTERN char_u *p_rtp; // 'runtimepath' EXTERN long p_sj; // 'scrolljump' +#if defined(MSWIN) && defined(FEAT_GUI) +EXTERN int p_scf; // 'scrollfocus' +#endif EXTERN long p_so; // 'scrolloff' EXTERN char_u *p_sbo; // 'scrollopt' EXTERN char_u *p_sections; // 'sections'