Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,494
    • Issues 1,494
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 249
    • Merge requests 249
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • GNOME
  • gtkgtk
  • Merge requests
  • !4721

Draft: gesturestylus: honor `GtkGestureSingle:button` property

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open hemidark requested to merge hemidark/gtk:stylus-buttons into main May 12, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 1

Use the GtkGestureSingle:button property to determine which buttons count for stylus contact. Press/release events for other buttons will not be consumed by the gesture.

With the property's default value of 0, any button press will count as contact, which is approximately the historical behavior, to ensure some measure of backwards compatibility.

Most users will want to set the property to 1, so that only button 1 registers as contact.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: stylus-buttons