spiegel-keyman/linux/ibus-keyman
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
..
debian chore(linux): Verify signed source packages 2021-03-08 19:29:27 +01:00
icons update default.png, remove unused svg 2018-11-29 12:56:23 +07:00
m4 update copyright for */Makefile.am 2018-11-26 11:15:44 +07:00
po update pot files and engine issue url 2018-11-28 14:52:29 +07:00
src fix(linux): Fix switching to keyboard in middle of line (#4678) 2021-03-18 17:29:21 +01:00
test chore(linux): Update references from keyboardprocessor to desktop 2020-02-26 16:40:20 +07:00
.gitignore chore(linux): Improve readme 2021-03-02 16:55:22 +01:00
AUTHORS make a copy of ibus-kmfl called ibus-keyman 2018-09-25 17:18:57 +07:00
autogen.sh make a copy of ibus-kmfl called ibus-keyman 2018-09-25 17:18:57 +07:00
ChangeLog make a copy of ibus-kmfl called ibus-keyman 2018-09-25 17:18:57 +07:00
configure.ac reduce version dep on json-glib to 1.0 2019-01-10 10:28:41 +07:00
COPYING make a copy of ibus-kmfl called ibus-keyman 2018-09-25 17:18:57 +07:00
Makefile.am update README, remove spec file and rpm building 2018-11-29 11:53:06 +07:00
NEWS make a copy of ibus-kmfl called ibus-keyman 2018-09-25 17:18:57 +07:00
README chore(linux): Improve readme 2021-03-02 16:55:22 +01:00
README.md chore(linux): Improve readme 2021-03-02 16:55:22 +01:00
README.repo make a copy of ibus-kmfl called ibus-keyman 2018-09-25 17:18:57 +07:00
VERSION make a copy of ibus-kmfl called ibus-keyman 2018-09-25 17:18:57 +07:00

Keyman engine for IBus

Requirements

You need autoconf, autopoint, gettext, automake and libtool to generate the build system.

Run ./autogen.sh to run them.

Building

./autogen.sh
./configure
make
sudo make install

For a debug build:

./configure CPPFLAGS=-DG_MESSAGES_DEBUG CFLAGS="-g -O0" CXXFLAGS="-g -O0"