INPUT_METHOD have also been added in the patch.
INPUT_METHOD can be used to distinguish fcitx4 and fcitx5.