Remove unnecessary code 46/320346/1
authorInhong Han <inhong1.han@samsung.com>
Thu, 14 Nov 2024 01:07:33 +0000 (10:07 +0900)
committerInhong Han <inhong1.han@samsung.com>
Thu, 14 Nov 2024 01:10:45 +0000 (10:10 +0900)
Preventing a hide request sent to the app when switching keyboard mode from H/W to S/W.

Change-Id: Id76bfb2fa2cda4b5440ea665baefac8c39b61c43

src/e_mod_main.c

index 224392ba20d10f8f18c5ed3d7f4325bd01d402cd..ef06ea04c97b3c4de0f851c63d4b6b88367cf946 100644 (file)
@@ -523,11 +523,6 @@ _keyboard_mode_changed_cb(keynode_t *key, void* data)
         if (!g_disable_show_panel && g_text_input && g_text_input->resource && g_client && g_input_panel_state == E_INPUT_PANEL_STATE_DID_HIDE && g_text_input->input_panel_show_requested)
           _e_text_input_cb_input_panel_show(g_client, g_text_input->resource);
 
-#ifdef SUPPORT_CANDIDATE_ONEWINDOW
-        /* Switching to S/W keyboard mode, hide input panel since it could be displaying candidate only */
-        if (g_disable_show_panel && g_text_input && g_text_input->resource && g_client)
-          _input_panel_hide(g_client, g_text_input->resource, EINA_FALSE);
-#endif
         g_disable_show_panel = EINA_FALSE;
      }
    else