SIGN IN SIGN UP

x11: Fix preedit for CJK and partially fix unresponsive keyboard with xim (#17373)

Closes #15833
Related to [#12495
comment](https://github.com/zed-industries/zed/pull/12495#issuecomment-2328356125)

Destroying and recreating the Input context was the only way to reset
the IME but it's making the keyboard unresponsive sometimes due to a XIM
error.

The keyboard will still be unresponsive if you close your IME while
using zed, but I don't know how to fix this.

* Fixed preedit drawing for CJK
* Fixed unresponsive keyboard by properly implementing reset_ic in
`xim-rs`

Release Notes:

- N/A
F
Fernando Tagawa committed
d7c45ccf2f61e8b4e7c2c62fa4c4613d1091c59f
Parent: bc5ed13
Committed by GitHub <noreply@github.com> on 9/17/2024, 12:46:03 AM