File commit-when-focus-out.patch of Package scim-canna
diff -ru scim-anthy-0.4.2.orig/src/scim_anthy_imengine.cpp scim-anthy-0.4.2/src/scim_anthy_imengine.cpp
--- scim-anthy-0.4.2.orig/src/scim_anthy_imengine.cpp 2005-05-17 09:17:57.000000000 +0200
+++ scim-anthy-0.4.2/src/scim_anthy_imengine.cpp 2005-06-07 15:50:05.000000000 +0200
@@ -299,6 +299,7 @@
AnthyInstance::focus_out ()
{
SCIM_DEBUG_IMENGINE(2) << "focus_out.\n";
+ action_commit(m_factory->m_learn_on_auto_commit);
}
void