# x11: Properly update XKB group state \(\#13931\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/65e463b5996f3533d18ac942b1221a67fc08ebcd)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 65e463b5996f3533d18ac942b1221a67fc08ebcd

Requested commit: 65e463b5996f3533d18ac942b1221a67fc08ebcd

Commit: 65e463b5996f3533d18ac942b1221a67fc08ebcd

Tree: 5e489f16ba68c3a21d2c28a250b894d79138f077

Author: fsh

Committer: GitHub

## Message

```
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.
```

## Parents

- [11c7374f767bfa9e631964af93111744da8b53de](https://git.cafe/gitcafe/zed/commit/11c7374f767bfa9e631964af93111744da8b53de?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/65e463b5996f3533d18ac942b1221a67fc08ebcd?format=markdown)
