spiegel-keyman/linux/ibus-keyman/src
Eberhard Beilharz 044e53198a
fix(linux): Fix switching to keyboard in middle of line (#4678)
Don't re-set context if it changed because the cursor location was
wrong. When the user switches to the EuroLatin keyboard in the
middle of the line, we're getting a wrong cursor location. This will
be fixed with the next keypress, but it leads to the context string
suddenly having more characters added to the front. If we re-set the
context because it's different now we will loose the information we
previously added to the context.

We now compare the end of the string. If the new context string ends
with the old context string we assume that the cursor position got
updated and don't re-set the context.

This fixes #4678.
2021-03-18 17:29:21 +01:00
..
test parse more json, add test apps 2018-11-21 17:33:07 +07:00
engine.c fix(linux): Fix switching to keyboard in middle of line (#4678) 2021-03-18 17:29:21 +01:00
engine.h feat(linux): Start refactoring the dconf utilities 2020-01-31 17:35:49 +07:00
keyman-service.c update keyman-service copyright, kmnkbp dep 2018-11-29 11:56:17 +07:00
keyman-service.h update keyman-service copyright, kmnkbp dep 2018-11-29 11:56:17 +07:00
keyman.xml.in.in differentiate dummy keyboard names with number 2018-11-07 17:16:13 +07:00
keymanutil.c feat(linux): Save new options into DConf 2020-02-01 17:04:09 +07:00
keymanutil.h feat(linux): Save new options into DConf 2020-02-01 17:04:09 +07:00
kmpdetails.c avoid potential memleak 2019-02-14 16:37:14 +00:00
kmpdetails.h remove dead code 2018-11-22 14:11:03 +07:00
main.c [linux] WIP: preparing to use keyman API 2018-10-05 09:02:22 +07:00
Makefile.am add test/kmp.json to EXTRA_DIST 2019-01-28 09:59:33 -06:00
print_kmp.c parse more json, add test apps 2018-11-21 17:33:07 +07:00
print_kmpdetails.c parse more json, add test apps 2018-11-21 17:33:07 +07:00