# Wayland: Keyboard input improvements \(\#7989\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2b56c43f2d2172d0a8dcaadd9096280eaa7d2de7

Requested commit: 2b56c43f2d2172d0a8dcaadd9096280eaa7d2de7

Commit: 2b56c43f2d2172d0a8dcaadd9096280eaa7d2de7

Tree: b5f195df2f5e1df7cfda9716f094ebb216267bfe

Author: Tadeo Kondrak

Committer: GitHub

## Message

```
Wayland: Keyboard input improvements (#7989)

Release Notes:

- N/A

---

Right now the Wayland backend is using `xkb::State::key_get_utf8` as the
`key`, when it should be used as the `ime_key`. It also manages
pressing/releasing modifiers manually when this should be managed by the
display server.

This allows modifier combinations to work in more cases, making it an
alternative to https://github.com/zed-industries/zed/pull/7975, which
interprets what is now only used as the `ime_key` value as a `key`
value.
```

## Parents

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

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