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

core: mmap keymap buffer with MAP_PRIVATE #190

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

PaideiaDilemma
Copy link
Collaborator

@PaideiaDilemma PaideiaDilemma commented Mar 14, 2024

Opened my laptop and had no input. Attached and everything looked ok but no key events and a lot of calls to handleKeyboardKeymap.

So I don't know if that fixes it but according to here the region should be mapped with MAP_PRIVATE.

The debugger also showed fd: 0xf (/dev/shm/wlroots-kgkhkA (deleted)). when stepping through handleKeyboardKeymap. But the "(deleted)" part could also be fine. don't know.

Could address #101

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no issues with this so sure

@vaxerski vaxerski merged commit ae889b4 into hyprwm:main Mar 14, 2024
1 check passed
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.

2 participants