g_info_manager->remoteinput_callback_focus_out ();
#endif
+ context_scim->impl->surrounding_text.clear ();
+ context_scim->impl->preedit_string.clear ();
+ context_scim->impl->preedit_attrlist.clear ();
+ context_scim->impl->commit_string.clear ();
+ context_scim->impl->preedit_caret = 0;
+ context_scim->impl->preedit_started = false;
+ context_scim->impl->need_commit_preedit = false;
+
context_scim->impl->init_remote_entry_metadata = true;
context_scim->impl->init_remote_surrounding_text = true;
context_scim->impl->block_input_resource = true;
+ context_scim->impl->input_resource = INPUT_RESOURCE_NONE;
}
_x_key_event_is_valid = false;
}
if (ic->impl->panel_layout == ECORE_IMF_INPUT_PANEL_LAYOUT_URL)
wsc_context_delete_surrounding (ic, -ic->impl->cursor_pos, ic->impl->surrounding_text.length ());
+
+ wsc_context_commit_string (ic, utf8_wcstombs (wstr).c_str ());
+ ic->impl->need_commit_preedit = false;
+ ic->impl->preedit_string.clear ();
} else {
check_input_resource (ic, INPUT_RESOURCE_LOCAL);
+ wsc_context_commit_string (ic, utf8_wcstombs (wstr).c_str ());
}
- wsc_context_commit_string (ic, utf8_wcstombs (wstr).c_str ());
}
}