[fcitx] add a painful api..