Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xcbproto xcbproto
  • 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 6
    • Merge requests 6
  • 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
  • xcbprotoxcbproto
  • Merge requests
  • !13

Add a 'Removed' DeviceType

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Uli Schlachter requested to merge psychon/xcbproto:xinput-device-type-removed into master Oct 11, 2020
  • Overview 0
  • Commits 1
  • Changes 1

The X.org server sends HierarchyChanged events with device type set to zero for devices that were removed. Since "DeviceType" is used in an enum, this means that only values of that enum can appear. This is not allowed by the spec, but it is what happens in reality. Thus, this commit changes xinput.xml to describe reality by adding "Removed" as a new "DeviceType".

Originally-reported: https://github.com/psychon/x11rb/issues/458 Signed-off-by: Uli Schlachter psychon@znc.in

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: xinput-device-type-removed