Looks like upstream already fixed this: https://github.com/fcitx/libime/commit/6b65eed26351a7186804d4885e8163be60be7cb6 Maybe upgrading libime to 1.0.8 will fix the problem?