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

Fix Hotkey Modifiers on X11 #762

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Fix Hotkey Modifiers on X11 #762

merged 1 commit into from
Jan 22, 2024

Conversation

CryZe
Copy link
Collaborator

@CryZe CryZe commented Jan 22, 2024

Turns out that X11 is very strict about the hotkey modifiers. They need to match exactly, otherwise the hotkey is not recognized. The problem is that there's various "lock" modifiers, such as the caps lock, num lock, and scroll lock, that are always considered for this, but are not really keys that you explicitly press and instead are active or inactive until you toggle them. And they need to match exactly as well. Whoever thought that's a good design should stop doing so immediately.

Turns out that X11 is very strict about the hotkey modifiers. They need
to match exactly, otherwise the hotkey is not recognized. The problem is
that there's various "lock" modifiers, such as the caps lock, num lock,
and scroll lock, that are always considered for this, but are not really
keys that you explicitly press and instead are active or inactive until
you toggle them. And they need to match exactly as well. Whoever thought
that's a good design should stop doing so immediately.
@CryZe CryZe added bug There is a bug. enhancement An improvement for livesplit-core. priority: high This is a high priority issue. hotkey This is about the hotkey implementation. labels Jan 22, 2024
@CryZe CryZe added this to the v0.14 milestone Jan 22, 2024
@CryZe CryZe linked an issue Jan 22, 2024 that may be closed by this pull request
@CryZe CryZe merged commit f803c68 into LiveSplit:master Jan 22, 2024
72 checks passed
@CryZe CryZe deleted the x11-modifiers branch January 22, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There is a bug. enhancement An improvement for livesplit-core. hotkey This is about the hotkey implementation. priority: high This is a high priority issue.
Projects
Development

Successfully merging this pull request may close these issues.

Hotkeys do not work when num lock is active
1 participant