# linux: Fix some panics related to xkb compose \(\#13529\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5d766f61fab2173e3afa1fa07d1ddec2e36b8251

Requested commit: 5d766f61fab2173e3afa1fa07d1ddec2e36b8251

Commit: 5d766f61fab2173e3afa1fa07d1ddec2e36b8251

Tree: 1cd6caee850682bf900cedacb3bfe0a8f8a84cbb

Author: Fernando Tagawa

Committer: GitHub

## Message

```
linux: Fix some panics related to xkb compose (#13529)

Release Notes:

- N/A

Fixed #13463 Fixed crash when the locale was non UTF-8 and fixed the
fallback locale.
Fixed #13010 Fixed crash when `compose.keysym()` was `XKB_KEY_NoSymbol`

I also extracted the `xkb_compose_state` to a single place
```

## Parents

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

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