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

MaskUsedModifiers: remove bits used for XKB group index #901

Merged
merged 1 commit into from Sep 4, 2023

Conversation

farblos
Copy link
Contributor

@farblos farblos commented Sep 4, 2023

  • What does this PR do?

According to section Xkb State to Core Protocol State Transformation, the Xkb-aware server reports group index in bits 13 and 14 of XEvent.xkey.state or XEvent.xbutton.state. This interferes with FVWM's modifier handling, so remove these bits in function MaskUsedModifiers.

Fixes #861

According to section "Xkb State to Core Protocol State
Transformation" of the "The X Keyboard Extension: Library
Specification", the Xkb-aware server reports group index in bits
13 and 14 of XEvent.xkey.state or XEvent.xbutton.state.  This
interferes with FVWM's modifier handling as described in fvwmorg#861.
@ThomasAdam ThomasAdam added the type:bug Something's broken! label Sep 4, 2023
@ThomasAdam ThomasAdam added this to the 1.0.8 milestone Sep 4, 2023
@ThomasAdam
Copy link
Member

Thanks. LGTM, will merge,

@ThomasAdam ThomasAdam merged commit 686ffe2 into fvwmorg:main Sep 4, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something's broken!
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

M-S-Tab for menu navigation moves menu selection forward when in 2nd XKB group
2 participants