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-10-24 15:02:26 -07:00
2023-11-30 22:04:34 +01:00
2023-12-19 11:36:05 -08:00
2023-12-13 15:35:21 -08:00
2023-12-15 08:05:32 -06:00
2023-12-17 16:19:22 +01:00
2023-06-30 12:15:31 -07:00
2023-09-23 22:46:16 -07:00
2023-11-30 21:41:33 +01:00
2023-11-30 21:58:14 +01:00
2023-11-29 15:30:22 -08:00
2023-09-20 12:35:52 -07:00
2022-08-18 11:42:32 -07:00
2023-11-30 21:40:01 +01:00
2023-11-17 21:50:35 -08:00
2023-08-08 14:27:34 +02:00