Open lo48576 opened 6 years ago
In my environment, modifiers such as Control_L causes unexpected behaviour without this patch.
Using fcitx-skk and libskk-1.0.5:
p o c Bksp →ぽ
p o c Ctrl → ぽc
p o c Ctrl Bksp Bksp →ぽc
p o c Ctrl a →ぽあ
p o c C-h Bksp a →ぽあ
This patch fixes behaviour in these cases (and it work as expected in my env.)
I can't reproduce this problem by using skk
command, and I don't know how to write tests for this.
This change prevents modifiers, "Control_L" without normal key for example, from being eaten by libskk.
This is essentially doing same thing as 10555a292c2c9f45294f84a52810eff16dd901c8, except for returning
false
to let modifiers pass through.