summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-05 21:09:23 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-05 21:09:23 +0100
commitae20f340adc8c96aeec5cff5ef4f2129035ffca4 (patch)
tree1053beba1daad179dfb22958fbfe86f9a633e93e /src/option.h
parente5a3272d32ad52f905ef3e66991871dbef2245e7 (diff)
downloadvim-git-ae20f340adc8c96aeec5cff5ef4f2129035ffca4.tar.gz
patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current windowv8.1.2257
Problem: MS-Windows GUI: scroll wheel always uses current window. Solution: Add the 'scrollfocus' option for MS-Windows.
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/option.h b/src/option.h
index 3ee997913..1154aa85e 100644
--- 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'