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

Hardcode the Mode_switch modifier as Mod5 #307

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

Conversation

ncfavier
Copy link

Following a change in xkeyboard-config 2.37, modfield_from_keysym(Mode_switch) returns 0 and we should assume that the modifier for mode switching is Mod5: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/363

Fixes #289, fixes #297, possibly fïxes #291

Following a change in xkeyboard-config 2.37,
modfield_from_keysym(Mode_switch) returns 0 and we should assume that
the modifier for mode switching is Mod5:
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/363
@ncfavier
Copy link
Author

Actually, this behaviour of sxhkd's is a bit weird since it makes e.g. super + altgr + z behave as super + w when z types w in the second layout, even though altgr + z does not type w. https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/363#note_2003416

I wonder if we should disable it entirely.

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.

bracketleft and bracketright both treated as the same keybind Sxhkd using 2 layouts at the same time?
1 participant