LOGD("Enter\n");
//g_ise_common->set_keyboard_ise_by_uuid(KEYBD_ISE_UUID);
+ /* Don't update screen until all the information is correctly set */
+ g_ui->set_update_pending(TRUE);
+
ise_reset_context(); // reset ISE
/*if (context.language == ECORE_IMF_INPUT_PANEL_LANG_ALPHABET) {
}
::ise_show(ic);
+
+ /* Now we update the whole screen */
+ g_ui->set_update_pending(FALSE);
}
void CCoreEventCallback::on_ise_hide(sclint ic, const sclchar *ic_uuid)
void
ise_hide()
{
- _language_manager.reset_language(g_config_values.selected_language.c_str());
-
- _click_count = 0;
- delete_commit_timer();
-
if (g_ui) {
+ /* There's no need to update screen when hiding */
+ g_ui->set_update_pending(TRUE);
g_ui->disable_input_events(TRUE);
g_ui->hide();
}
+ _language_manager.reset_language(g_config_values.selected_language.c_str());
+
+ _click_count = 0;
+ delete_commit_timer();
g_keyboard_state.visible_state = FALSE;