Eina_Bool language_initialized;
Eina_Bool return_key_disabled;
+ Eina_Bool input_panel_shown;
WSCContextISFImpl *impl;
autocapital_type_initialized(EINA_FALSE),
language_initialized(EINA_FALSE),
return_key_disabled(EINA_FALSE),
+ input_panel_shown(EINA_FALSE),
impl(NULL),
id(0),
next(NULL)
if (!wsc || !wsc->wsc_ctx) return;
isf_wsc_context_input_panel_show (wsc->wsc_ctx);
+ wsc->wsc_ctx->input_panel_shown = true;
if (_TV)
remote_surrounding_get (wsc->wsc_ctx);
if (!wsc || !wsc->wsc_ctx) return;
isf_wsc_context_input_panel_hide (wsc->wsc_ctx);
+ wsc->wsc_ctx->input_panel_shown = false;
}
static const struct wl_input_method_listener wsc_im_listener = {
context_scim->impl->cursor_pos = cursor;
if (_TV) {
- if (context_scim->impl->input_resource != INPUT_RESOURCE_REMOTE) {
+ if (context_scim->input_panel_shown && context_scim->impl->input_resource != INPUT_RESOURCE_REMOTE) {
if (context_scim->impl->panel_layout == ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD) {
g_info_manager->remoteinput_callback_surrounding_text (String (""), 0);
}