# linux: Fix IBus in vim mode and some compose state fixes \(\#12299\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6276281e8af32cbb76d2e827c1fca0f6cdfcc8ca

Requested commit: 6276281e8af32cbb76d2e827c1fca0f6cdfcc8ca

Commit: 6276281e8af32cbb76d2e827c1fca0f6cdfcc8ca

Tree: 5f35ca794c0c2aa6a9d91a9433660c78db4cec29

Author: Fernando Tagawa

Committer: GitHub

## Message

```
linux: Fix IBus in vim mode and some compose state fixes (#12299)

Release Notes:

- N/A

Fixes #12198 and some minor fixes:
* IBus was intercepting normal keys like `a`, `k` which caused some
problems in vim mode.
* Wayland: Trying to commit the pre_edit on click wasn't working
properly, should be fixed now.
* X11: The pre_edit was supposed to be cleared when losing keyboard
focus.
* X11: We should commit the pre_edit on click.

---------

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
```

## Parents

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

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