Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyboard modifiers event sent before keymap event #7534

Open
tmccombs opened this issue Apr 1, 2023 · 0 comments
Open

keyboard modifiers event sent before keymap event #7534

tmccombs opened this issue Apr 1, 2023 · 0 comments
Labels
bug Not working as intended

Comments

@tmccombs
Copy link
Contributor

tmccombs commented Apr 1, 2023

Please fill out the following:

  • Sway Version:

    • `sway version 1.8.1
  • Debug Log:
    See linked PR for slurp

  • Description:

If I run wtype n && slurp, slurp is sent a wl_keyboard.modifiers event before a wl_keyboard.keymap event is received. This makes it difficult for slurp to know what keymap it should use for handling the modifiers.

I'm not entirely sure if this is a bug in sway itself or wlroots. slurp can be changed to ignore any keyboard events before the keymap event, but ideally sway would be sending the keymap event before any dependent event.

See emersion/slurp#124

@tmccombs tmccombs added the bug Not working as intended label Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

1 participant