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

Strip modifier keys of modifiers. #5383

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

Conversation

slyshot
Copy link
Contributor

@slyshot slyshot commented Jan 21, 2023

For some reason modifiers are applied to modifier keys if they're held down when a mode is loaded. I suspect this is a problem with xcb -- I haven't been able to find another culprit yet. This strips modifier keys of modifiers. I don't see this breaking anything since modifiers aren't normally applied to modifier keys(Super, Shift, etc) and is nonesense from the beginning.

This fixes #5288.

For some reason modifiers are applied to modifier keys being held down when a mode is loaded.
I suspect this is a problem with xcb, as that's where we get key state.
This strips modifiers of modifier keys. I don't see this breaking anything since modifiers
with modifier keys isn't normally applied and is nonesense from the beginning.

This fixes i3#5288.
@czert
Copy link

czert commented Jan 24, 2023

@slyshot Thanks for taking the time to work on this!

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.

bindsym --release Super_L doesn't work immediately after a mode change
2 participants