Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 -- I haven't been able to find another culprit yet. 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 partially fixes #5288. It doesn't fully fix the issue since B_UPON_KEYRELEASE_IGNORE_MODS can't be applied to a key release binding that didn't get a keypress, so the order that keys are released when the bindsym is made between modes matters when it shouldn't. I'm not sure what exactly the fix for that would be-- and it seems like it'd be a much bigger change than this, and that it would have to deserve it's own commit.
- Loading branch information