From: Ji-hoon Lee Date: Tue, 15 May 2018 01:55:16 +0000 (+0900) Subject: Update input panel geometry when candidate appears X-Git-Tag: submit/tizen/20180801.081926~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5834bcd598ec06548ec1781efdd90085ca60451;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wl-textinput.git Update input panel geometry when candidate appears Change-Id: If2bf4b0993435b66141f708f73b34e89fd673b04 --- diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 1e73523..3b1dbbb 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -944,7 +944,12 @@ _e_text_input_method_context_cb_update_candidate_state(struct wl_client *client { /* If the candidate state has been changed to ON when panel is not in show state */ if (g_show_state_candidate && !prev_show_state && g_disable_show_panel && g_client && g_text_input) - _e_text_input_cb_input_panel_show(g_client, g_text_input->resource); + { + _e_text_input_cb_input_panel_show(g_client, g_text_input->resource); + int x = 0, y = 0, w = 0, h = 0; + if (e_input_panel_client_geometry_get(NULL, &x, &y, &w, &h)) + _e_text_input_send_input_panel_geometry(g_text_input->resource, x, y, w, h); + } } }