* lisp/pixel-scroll.el
(pixel-scroll-precision-scroll-down-page): Calculate desired
vscroll with `window-text-pixel-size'.
(window-header-line-height))))
(object (posn-object desired-pos))
(desired-start (posn-point desired-pos))
- (desired-vscroll (cdr (posn-object-x-y desired-pos)))
+ (scroll-area-total-height (cdr (window-text-pixel-size nil
+ (window-start)
+ (1- desired-start))))
+ (desired-vscroll (- delta scroll-area-total-height))
(edges (window-edges nil t))
(usable-height (- (nth 3 edges)
(nth 1 edges)))