From: InHong Han Date: Tue, 17 Sep 2019 08:50:34 +0000 (+0900) Subject: Fix issue that remote_control_text_updated_cb() is not called when IME is shown X-Git-Tag: accepted/tizen/unified/20190918.102224~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F214044%2F1;p=platform%2Fcore%2Fuifw%2Fisf.git Fix issue that remote_control_text_updated_cb() is not called when IME is shown Change-Id: I91307612a6c41683361491c99cde8b07b4aaf423 --- diff --git a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp index b8dbbc2..db19c03 100644 --- a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp +++ b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp @@ -1565,6 +1565,7 @@ isf_wsc_context_send_surrounding_text (WSCContextISF* wsc_ctx, const char *text, if (_TV) { if (context_scim->input_panel_shown_once && context_scim->impl->input_resource != INPUT_RESOURCE_REMOTE) { + context_scim->impl->init_remote_surrounding_text = true; if (context_scim->impl->panel_layout == ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD) { g_info_manager->remoteinput_callback_surrounding_text (String (""), 0); } @@ -1573,7 +1574,6 @@ isf_wsc_context_send_surrounding_text (WSCContextISF* wsc_ctx, const char *text, } } } - context_scim->impl->init_remote_surrounding_text = true; } free (conv_text); }