Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xorgproto xorgproto
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • 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
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • proto
  • xorgprotoxorgproto
  • Merge requests
  • !18

Xi2 touchpad gesture support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Povilas Kanapickas requested to merge p12tic/xorgproto:xi2-gesture-support into master Jul 02, 2020
  • Overview 72
  • Commits 2
  • Pipelines 3
  • Changes 3

This MR implements touchpad gesture support as XI 2.4.

In the current form, gestures work in many ways similarly to the regular pointer button events. The important points are as follows:

  • If a begin gesture event is sent to the client, it will get an end event

  • The begin event defines what client the gesture sequence will be sent to, if at all. This begin event can be shuffled around by XIReplayDevice and only the last client will get full sequence.

  • An active device grab will always consume gesture events, regardless of whether the grab is core, XI or XI2, or what mask it has.

  • Master device only supports a single gesture sequence concurrently. All others will be ignored.

  • Gestures are almost completely independent of any other events. E.g. the fact that we disallow simultaneous touch and gesture events does not simplify anything on the implementation side.

Implementation PRs:

libinput input driver: xorg/driver/xf86-input-libinput!17 (merged)

libXi: xorg/lib/libxi!5 (merged)

X server: xorg/xserver!530 (merged)

Edited Oct 10, 2020 by Povilas Kanapickas
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: xi2-gesture-support