-
Notifications
You must be signed in to change notification settings - Fork 152
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
Cannot bind [Alt-]Shift-Tab via [A-]S-Tab
#163
Comments
Shift-Tab should treated as a key with a modifier, instead of just looking at the sym value. Edit to add: How do we handle shift (1-0) or shift keypad? |
I noticed that |
See #365 (comment) for a workaround. We should really figure this out at some point and implement a proper fix. For this specific case of |
When looking up keybinds, if the translated keysyms (based on the keymap for the keyboard) do not match a defined keybind, try raw keysyms (as if there were no modifier translation). This allows a user to define for example keybind with "S-1" rather than "S-exclam". It also supports "W-S-Tab". Fixes: issues labwc#163 labwc#365 labwc#992
When looking up keybinds, if the translated keysyms (based on the keymap for the keyboard) do not match a defined keybind, try raw keysyms (as if there were no modifier translation). This allows a user to define for example keybind with "S-1" rather than "S-exclam". It also supports "W-S-Tab". Fixes: issues #163 #365 #992
Should be fixed by Note: the workaround keybinds will have preference over raw ones, e.g. |
Something is off in the way we handle xkb keysyms for key bindings. Because Shift+Tab produces the
ISO_Left_Tab
keysym,S-Tab
cannot be bound to keybinds.I've locally worked around this with the following patch, but I don't have much confidence that it's the right way to fix things:
We should reference how other compositors do keycode→keysym mapping for internal hotkeys.
The text was updated successfully, but these errors were encountered: