Restore conformant info when WILL_HIDE canceled and showed again 93/92693/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 18 Oct 2016 07:23:05 +0000 (16:23 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 18 Oct 2016 08:28:31 +0000 (17:28 +0900)
Change-Id: Ia5aec51b6b4b685d560a73f26433b5f7978cbf01

src/e_mod_main.c

index 32c48ab31792f5df1dbb4e8c9af96136cb143cea..66757df5f252cdd84e5eda8a12a12990e0aea930 100644 (file)
@@ -1217,6 +1217,13 @@ _e_text_input_cb_input_panel_show(struct wl_client *client, struct wl_resource *
    e_input_panel_visibility_change(EINA_TRUE);
 #endif
 
+   /* If the input panel state was WILL_HIDE, it means that the conformant area information needs to be restored */
+   if (g_input_panel_state == E_INPUT_PANEL_STATE_WILL_HIDE)
+     {
+        if (text_input->resource)
+          wl_text_input_send_private_command(text_input->resource, 0, "CONFORMANT_RESTORE");
+     }
+
    text_input->input_panel_visibile = EINA_TRUE;
    g_input_panel_state = E_INPUT_PANEL_STATE_WILL_SHOW;