Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mutter mutter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,143
    • Issues 1,143
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 120
    • Merge requests 120
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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
  • GNOMEGNOME
  • muttermutter
  • Merge requests
  • !2657

Revert "wayland-keyboard: Don't send pressed keys on enter"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jonas Ådahl requested to merge jadahl/mutter:wip/revert-no-pressed-keys into main Oct 13, 2022
  • Overview 6
  • Commits 2
  • Pipelines 3
  • Changes 3

Back in 2014 sending pressed keys to Wayland clients caused issues, because at least Xwayland didn't handle that gracefully, causing issues like ghost-pressed keys. A way it was reproduced was quickly alt-tab:ing to and from a Firefox window, which would cause the File menu bar incorrectly appearing.

While this was reported to the Xwayland component back then, it was, probably by mistake, assumed to be an issue in mutter, and mutter stopped sending pressed key events on enter.

The following year, Xwayland was eventually fixed, but the work around in mutter has been kept around until it was again noticed as an inconsistency between compositor implementations.

Lets remove the work around, and follow the spec, again.

This reverts commit c39f18c2.

Closes: #2457 (closed)

This also includes a fix to not double-disable input devices classes when freeing the seat.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/revert-no-pressed-keys