Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
xserver
xserver
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 890
    • Issues 890
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 96
    • Merge Requests 96
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • xserverxserver
  • Merge Requests
  • !510

Merged
Opened Sep 11, 2020 by Povilas Kanapickas@p12ticContributor

mi: Add a callback to notify driver about input event submission

  • Overview 14
  • Commits 2
  • Pipelines 7
  • Changes 5

With input threads there's no way to synchronize processing of events with any external source which makes it impossible to implement reliable integration tests that use input. Adding a hook at the end of mieqProcessInputEvents is enough for a custom driver to synchronize with the end of input event processing.

A driver using this API is here: p12tic/xf86-input-emulated!1

Refactoring of existing Xorg tests is here: xorg/test/xorg-integration-tests!1 (merged)

This work has already uncovered a serious regression in touch ownership input event handling.

Edited Sep 16, 2020 by Povilas Kanapickas
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: xorg/xserver!510
Source branch: callback-input-event-submission