Function: x-dnd-note-wheel-movement
x-dnd-note-wheel-movement is a byte-compiled function defined in
x-dnd.el.gz.
Signature
(x-dnd-note-wheel-movement POSITION BUTTON STATE TIME)
Documentation
Note wheel movement at POSITION.
POSITION is a mouse position list describing the position of the wheel movement. BUTTON is the wheel button that was pressed. STATE is the X modifier state at the time of the wheel movement. TIME is the X server time at which the wheel moved.
Source Code
;; Defined in /usr/src/emacs/lisp/x-dnd.el.gz
(defun x-dnd-note-wheel-movement (position button state time)
"Note wheel movement at POSITION.
POSITION is a mouse position list describing the position of the
wheel movement.
BUTTON is the wheel button that was pressed.
STATE is the X modifier state at the time of the wheel movement.
TIME is the X server time at which the wheel moved."
(when (posn-window position)
(with-selected-window (posn-window position)
(let ((count (x-dnd-note-click button time)))
(x-dnd-mwheel-scroll button count state)))))