Variable: mouse-wheel-follow-mouse
mouse-wheel-follow-mouse is a customizable variable defined in
mwheel.el.gz.
Value
t
Documentation
Whether the mouse wheel should scroll the window that the mouse is over.
This affects both the commands for scrolling and changing the face height.
Probably introduced at or before Emacs version 21.1.
Source Code
;; Defined in /usr/src/emacs/lisp/mwheel.el.gz
(defcustom mouse-wheel-follow-mouse t
"Whether the mouse wheel should scroll the window that the mouse is over.
This affects both the commands for scrolling and changing the
face height."
:group 'mouse
:type 'boolean)