While making the scroll wheel work in popup windows I noticed that the
scroll wheel actually works differently on MS-Windows from other
systems.  In most places the window under the mouse pointer is scrolled.
On MS-Windows the window with focus is scrolled.

I don't recall this being reported as a bug, thus I suppose we should
enable the behavior with an option.  We already have 'mousefocus' thus a
logical choice would be 'scrollfocus'.

We could theoretically also implement it for non-MS-Windows systems, but
with the default "on".  Not sure how useful that is, thus I'll leave it
for later.

For MS-Windows the default would be "off" to keep it backwards
compatible.  I imagine MS-Windows users are used to this behavior (I
actually have the problem in Explorer to scroll the left panel while I
want to scroll the right panel).

Any remarks?

-- 
The only backup you need is the one that you didn't have time for.
(Murphy)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201911051934.xA5JYlQn008606%40masaka.moolenaar.net.

Raspunde prin e-mail lui