} else if (0 == strcmp(openedDesc->input_mode, "CM_POPUP")) {
_cm_popup_opened = TRUE;
}
+ } else if (noti_type == SCL_UINOTITYPE_POPUP_CLOSED) {
+ g_popup_opened = FALSE;
+ SclNotiPopupClosedDesc *closedDesc = (SclNotiPopupClosedDesc *)etc_info;
+ if (closedDesc && closedDesc->input_mode) {
+ if (0 == strcmp(closedDesc->input_mode, "PUNCTUATION_POPUP")) {
+ g_punctuation_popup_opened = FALSE;
+ } else if (0 == strcmp(closedDesc->input_mode, "CM_POPUP")) {
+ _cm_popup_opened = FALSE;
+ }
+ }
} else if (noti_type == SCL_UINOTITYPE_INPUT_MODE_CHANGE) {
SclNotiInputModeChangeDesc *desc = static_cast<SclNotiInputModeChangeDesc*>(etc_info);
if (desc && g_ui) {
}
} else if (g_punctuation_popup_opened) {
update_recent_used_punctuation(event_desc.key_value);
- g_punctuation_popup_opened = FALSE;
- g_popup_opened = FALSE;
}
break;
}
exit_timer = NULL;
#endif
sclboolean reset_inputmode = FALSE;
- g_popup_opened = FALSE;
g_input_panel_show = true;
if (g_ui) {
if (g_popup_opened == TRUE) {
if (back_key_released) {
g_ui->close_all_popups();
- g_popup_opened = FALSE;
}
ret = 1;
return;