Skip to content

Enable kinetic scrolling on GTK+3 (Was: Proper scrolling on touchpads) #33

Open
@HybridDog

Description

@HybridDog

When scrolling up and down, it currently peacemeal scrolls more than one line at once (lines count depends on the window height). When using a touchpad instead of a mouse wheel, you don't scroll discrete, you can e.g. scroll 0.1 lines in a scroll event, but lxterminal's scrolling doesn't support it yet. I'd like to have it scroll line by line on a touchpad (and a scrolling speed factor depending on the window height). It could add the scrolling distance, multiplied with the scrolling speed factor, to a double and every frame (60 fps) it takes the integer part from the double and scrolls these lines. If scrolling up, the scrolling distance is negative, else it's positive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions