Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
fcitx5-unikey
backport-commit-on-switchingIM.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File backport-commit-on-switchingIM.diff of Package fcitx5-unikey
diff --git a/src/unikey-im.cpp b/src/unikey-im.cpp index 232d686..65dc5cf 100644 --- a/src/unikey-im.cpp +++ b/src/unikey-im.cpp @@ -325,6 +325,10 @@ void UnikeyEngine::activate(const InputMethodEntry &, void UnikeyEngine::deactivate(const InputMethodEntry &entry, InputContextEvent &event) { + if (event.type() == EventType::InputContextSwitchInputMethod) { + auto *state = event.inputContext()->propertyFor(&factory_); + state->commit(); + } reset(entry, event); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor