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

wayland: Set the keymap in keyboard_handle_modifiers #4303

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

flibitijibibo
Copy link
Collaborator

@flibitijibibo flibitijibibo commented Apr 13, 2021

Wayland keyboard layouts are passed via the group parameter in keyboard_handle_modifiers, and map to xkb_layout_index_t in xkbcommon. This patch supports both initial and live-updated keyboard layouts. The translation in Wayland_keymap_iter is mostly ripped off the X11 backend.

Fixes #3471, fixes #4142. Partially addresses #4187, X11 still doesn't support live updates AFAIK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants