Modified to reset the keyboard mode whenever the input context changes 36/317336/1
authorInhong Han <inhong1.han@samsung.com>
Tue, 31 Dec 2024 01:48:24 +0000 (10:48 +0900)
committerInhong Han <inhong1.han@samsung.com>
Tue, 31 Dec 2024 01:48:24 +0000 (10:48 +0900)
Change-Id: I13c2014794e98f1210b39cec992ea02b63874a04

src/e_mod_main.c

index eb730305776f5706c2452fd9388cfb113eecac2e..1e18296cebc8cb8f796cac1eee78fd148ed37322 100644 (file)
@@ -1171,8 +1171,8 @@ _e_text_input_deactivate(E_Text_Input *text_input, E_Input_Method *input_method,
         if (text_input->resource)
           wl_text_input_send_leave(text_input->resource);
 
-        if (_TV || _WEARABLE)
-          g_disable_show_panel = EINA_FALSE;
+
+        g_disable_show_panel = EINA_FALSE;
      }
 }
 
@@ -1281,8 +1281,7 @@ _e_text_input_cb_activate(struct wl_client *client, struct wl_resource *resource
    else
      WRN("no inputmethod resource");
 
-   if (_TV || _WEARABLE)
-     set_hw_keyboard_mode(false);
+   set_hw_keyboard_mode(false);
 
    if (text_input->resource)
      wl_text_input_send_enter(text_input->resource, surface);