Revert "Allow focus input context to hide input panel" 40/118940/2
authorInHong Han <inhong1.han@samsung.com>
Wed, 15 Mar 2017 00:49:20 +0000 (09:49 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 28 Mar 2017 04:15:44 +0000 (21:15 -0700)
This reverts commit 50f2850552b1e4718a04c7b37a70480dc1f7321f.

Change-Id: I5a0a8ce63cc3f92b2f0c23960d41b54618ed3d10

src/e_mod_main.c

index 2eb6573..a1d0132 100644 (file)
@@ -1408,12 +1408,8 @@ _e_text_input_cb_input_panel_hide(struct wl_client *client, struct wl_resource *
    if (!g_text_input || (text_input && g_show_text_input == text_input))
      hide_allowed = EINA_TRUE;
 
-   if (g_client == client)
-     {
-        if ((g_old_text_input && (text_input == g_old_text_input)) ||
-            (g_text_input && (text_input == g_text_input)))
-          hide_allowed = EINA_TRUE;
-     }
+   if (g_old_text_input && text_input == g_old_text_input && g_client == client)
+     hide_allowed = EINA_TRUE;
 
    if (hide_allowed)
      {