[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Smoother macOS touchpad scrolling
From: |
Alan Third |
Subject: |
Smoother macOS touchpad scrolling |
Date: |
Fri, 8 Sep 2017 19:46:34 +0100 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
Attached is a patch to provide smoother scrolling with the touchpad on
macOS. It adds up the scrolling deltas and only sends a scroll event
when the total exceeds the frame’s default line‐height.
Scrolling quickly sometimes results in the screen stuttering a little.
I’m not sure if that’s just a result of scrolling quickly, or because
my code sends one scroll event for each line it wants to scroll and it
overloads Emacs redisplay or something.
Does anyone know if there’s a way, in C, to detect if we’re at the top
or bottom of the buffer? I’d rather not send momentum scroll events if
the buffer isn’t going to scroll.
--
Alan Third
0001-Provide-smoother-touchpad-scrolling-on-macOS.patch
Description: Text document
- Smoother macOS touchpad scrolling,
Alan Third <=
- Re: Smoother macOS touchpad scrolling, Tak Kunihiro, 2017/09/08
- Re: Smoother macOS touchpad scrolling, Alan Third, 2017/09/09
- Re: Smoother macOS touchpad scrolling, Tak Kunihiro, 2017/09/09
- Re: Smoother macOS touchpad scrolling, Alan Third, 2017/09/10
- Re: Smoother macOS touchpad scrolling, Alan Third, 2017/09/11
- Re: Smoother macOS touchpad scrolling, James Nguyen, 2017/09/11
- Re: Smoother macOS touchpad scrolling, Alan Third, 2017/09/12
- Re: Smoother macOS touchpad scrolling, Tak Kunihiro, 2017/09/12
- Re: Better macOS scrolling (was: Smoother macOS touchpad scrolling), Alan Third, 2017/09/13
- Re: Better macOS scrolling, Tak Kunihiro, 2017/09/13