diff --git a/common/common.cpp b/common/common.cpp index 1adedcc..94661a8 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -82,6 +82,8 @@ void setupFcitx(const char *bundlePath, const char *appGroupPath, instance = std::make_unique(0, nullptr); instance->setInputMethodMode(fcitx::InputMethodMode::OnScreenKeyboard); + instance->setVirtualKeyboardAutoShow(true); + instance->setVirtualKeyboardAutoHide(true); auto &addonMgr = instance->addonManager(); addonMgr.registerDefaultLoader(&addons); instance->initialize(); diff --git a/fcitx5 b/fcitx5 index 39b2d94..389f3d7 160000 --- a/fcitx5 +++ b/fcitx5 @@ -1 +1 @@ -Subproject commit 39b2d94596bfe1356cbb127031e257cc1eac9f95 +Subproject commit 389f3d7507d6a77e988964c2f78eb2d70d5e8c84