Remove unnecessary code 47/320347/2
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:14:31 +0000 (10:14 +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 93c4d54aad3ce1aa95d079530035c22ec44aecb1..3ec69bd3f39aa00a5d77e3c8416dabb3c18b6f61 100644 (file)
@@ -567,11 +567,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