x11: Properly update XKB group state (#13931)

Pass on all the XkbStateNotify information to XKB.

> "All parameters must always be passed, or the resulting state may be
incoherent."
>
https://docs.rs/xkbcommon/latest/xkbcommon/xkb/struct.State.html#method.update_mask

Previously, many keymaps using multiple groups/layers would not work and
remain in group0.

Release Notes:

- Fixed handling of Xkb keymap groups on X11.
This commit is contained in:
fsh 2024-07-08 16:14:07 +02:00 committed by GitHub
parent 11c7374f76
commit 65e463b599
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -585,8 +585,8 @@ impl X11Client {
event.base_mods.into(),
event.latched_mods.into(),
event.locked_mods.into(),
0,
0,
event.base_group as u32,
event.latched_group as u32,
event.locked_group.into(),
);