Mitchell Hashimoto 0c80f85d78 apprt/gtk: only reset IME state if key consuming while IME composing
Fixes #1047

This resets the IME state only if we were previously in a composing
state. I did not realize that IME state also included non-composing
state that we want to preserve, such as the next quotation direction
in the case of chinese. i.e. `“` vs `”`.

I'm not fully sure that this is the right logic, but previous pre-edit
states such as in Japanese appear to still work and this fixes Chinese
quotation marks.
2023-12-19 22:10:00 -08:00
..
2023-12-18 08:04:24 -08:00
2023-11-22 22:10:16 -08:00
2023-12-13 06:57:15 -06:00
2023-12-13 11:14:35 -05:00