Do not hide on focus-out event 35/39435/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 15 May 2015 05:50:13 +0000 (14:50 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 15 May 2015 05:50:13 +0000 (14:50 +0900)
Some applications can control IME show or hide manually regardless of focus

Change-Id: I81e375b92fd1043eeebf7484b73bf57d09e31e31

src/e_mod_main.c

index 5907a4c..421e695 100644 (file)
@@ -459,7 +459,6 @@ _e_text_input_cb_deactivate(struct wl_client *client EINA_UNUSED, struct wl_reso
      }
 
    _e_text_input_deactivate(text_input, input_method);
-   e_input_panel_visibility_change(EINA_FALSE);
 }
 
 static void
@@ -705,6 +704,8 @@ _e_text_input_cb_destroy(struct wl_resource *resource)
    EINA_LIST_FREE(text_input->input_methods, input_method)
       _e_text_input_deactivate(text_input, input_method);
 
+   e_input_panel_visibility_change(EINA_FALSE);
+
    if (text_input->cursor_rect)
      {
         eina_rectangle_free(text_input->cursor_rect);