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

linux: wayland: correct whitespace and nullbyte at the end of the keymap #386

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

pentamassiv
Copy link
Collaborator

Compositors such as labwc expect the keymap to follow a strict format. The whitespace is important and it needs to end with a null byte. Otherwise the length of the received keymap does not match the length of the expected keymap and there is an error.

Compositors such as labwc expect the keymap to follow a strict format. The whitespace is important and it needs to end with a null byte. Otherwise the length of the received keymap does not match the length of the expected keymap and there is an error.
@pentamassiv pentamassiv merged commit 2d2870e into enigo-rs:main Jan 29, 2025
24 checks passed
@pentamassiv pentamassiv deleted the wayland_keymap branch January 29, 2025 00:50
@pentamassiv pentamassiv mentioned this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant