Skip to content

Commit

Permalink
explicitly enable virtual keyboard auto show/hide
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Dec 7, 2024
1 parent 1fe3909 commit b9ffe5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions common/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ void setupFcitx(const char *bundlePath, const char *appGroupPath,

instance = std::make_unique<fcitx::Instance>(0, nullptr);
instance->setInputMethodMode(fcitx::InputMethodMode::OnScreenKeyboard);
instance->setVirtualKeyboardAutoShow(true);
instance->setVirtualKeyboardAutoHide(true);
auto &addonMgr = instance->addonManager();
addonMgr.registerDefaultLoader(&addons);
instance->initialize();
Expand Down

0 comments on commit b9ffe5e

Please sign in to comment.