]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Support smooth scrolling in GTK3.
authorSimon Tatham <anakin@pobox.com>
Fri, 25 Sep 2015 14:11:44 +0000 (15:11 +0100)
committerSimon Tatham <anakin@pobox.com>
Fri, 25 Sep 2015 14:11:44 +0000 (15:11 +0100)
commit4df5d56f3df09398c1ffe8773c20cc4fecf3b102
tree5c2e29e0725e63abb4a338c6b12f99399708433f
parent0f759e4e8589c69ab3e275046bef6fffb93a470b
Support smooth scrolling in GTK3.

Touchpad gestures can generate much smoother scrolling events than the
discrete increments of mouse wheels. GDK3 supports this by means of a
new kind of scroll event, with direction GDK_SCROLL_SMOOTH and a
floating-point delta value. Added support for this; so in GTK3 mode,
you can now touchpad-scroll at a granularity of one line rather than
five, but in mouse tracking mode, scroll events are still grouped into
5-line chunks for purposes of turning them into escape sequences to
send to the server.
unix/gtkwin.c