[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Smoother macOS touchpad scrolling

From: Tak Kunihiro
Subject: Re: Smoother macOS touchpad scrolling
Date: Sat, 09 Sep 2017 07:21:23 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt)

> +(setq mouse-wheel-scroll-amount '(1 ((shift) . 5)))
> +(setq mouse-wheel-progressive-speed nil)

I thought one of good things about your patch is to make scrolling smooth
without changing default.  No?


> +          int lineHeight = default_line_pixel_height(XWINDOW 
> (FRAME_SELECTED_WINDOW (emacsframe)));

A buffer with images has lines with different height.
I think lineHeight should be
 - height of 1 line (or sum of 5 lines) at the top on a screen
   when scrolling up
 - height of unseen 1 line (or sum of unseen 5 lines) above the
   top out of screen when scrolling down.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]