mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 13:27:36 +00:00
Fix precision pixel scrolling for a recent change
* lisp/pixel-scroll.el (pixel-scroll-precision-mode-map): Use `mwheel-coalesce-scroll-events' instead.
This commit is contained in:
parent
3bc0768e9b
commit
2ee6621fe9
1 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ is always with pixel resolution.")
|
|||
(defvar pixel-last-scroll-time 0
|
||||
"Time when the last scrolling was made, in second since the epoch.")
|
||||
|
||||
(defvar x-coalesce-scroll-events)
|
||||
(defvar mwheel-coalesce-scroll-events)
|
||||
|
||||
(defvar pixel-scroll-precision-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
|
|
@ -490,7 +490,7 @@ precisely, according to the turning of the mouse wheel."
|
|||
:global t
|
||||
:group 'mouse
|
||||
:keymap pixel-scroll-precision-mode-map
|
||||
(setq x-coalesce-scroll-events
|
||||
(setq mwheel-coalesce-scroll-events
|
||||
(not pixel-scroll-precision-mode)))
|
||||
|
||||
(provide 'pixel-scroll)
|
||||
|
|
|
|||
Loading…
Reference in a new issue