Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apprt/gtk: when text is committed, end the preedit state
Fixes #3567 ibus 1.5.29 doesn't trigger a preedit end state when text is committed. This is fixed in ibus 1.5.30, but we need to handle this case for older versions which are shipped on LTS distributions such as Ubuntu. Every other input method engine I've tried thus far also triggers a preedit end state when text is committed, and none would expect preedit to continue after text is committed. So I think it's safe to assume that this is the expected behavior.
- Loading branch information