Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 931
    • Issues 931
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 98
    • Merge requests 98
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • xserverxserver
  • Merge requests
  • !510

Merged
Created Sep 11, 2020 by Povilas Kanapickas@p12ticDeveloper

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
Time tracking
Source branch: callback-input-event-submission