Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,553
    • Issues 1,553
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 219
    • Merge requests 219
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Merge requests
  • !3766
The source project of this merge request has been removed.

GtkScrolledWindow: get_scroll_unit() should return 10 for libinput touchpad scroll events

Closed panoplie requested to merge (removed):fix-touchpad-scroll-unit into gtk-3-24 Jul 18, 2021
  • Overview 20
  • Pipelines 0
  • Changes 1

The libinput driver use screen coordinates unit for touchpad scroll events. It's the same unit as for unaccelerated mouse motion events. Libinput suggests in the code of the libinput debug-gui program that these values should be used directly as the number of pixels to scroll. GTK divided this incoming raw value by 10 (for example with wayland it is here) and should therefore be remultiplied by 10 with a scroll_unit of 10.

The issue I try to resolve is #3631 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-touchpad-scroll-unit