Fix display freezing issue on booting time 17/282217/1
authorInHong Han <inhong1.han@samsung.com>
Wed, 28 Sep 2022 10:30:56 +0000 (19:30 +0900)
committerInHong Han <inhong1.han@samsung.com>
Wed, 28 Sep 2022 10:30:56 +0000 (19:30 +0900)
Change-Id: I86908f7f40fa4799bccbb1695d34ddbfbc511c78

src/e_mod_input_panel.c
src/e_mod_main.c
src/e_mod_main.h

index a950dfc..5b54842 100644 (file)
@@ -951,7 +951,7 @@ _e_input_panel_rotation_geometry_set(void *data, E_Client *ec)
 
    cur_angle = ec->e.state.rot.ang.curr;
 
-   if (!check_rotation_size(ec, cur_angle, w, h))
+   if (!check_rotation_size(ec, cur_angle, w, h) && (e_text_input_activation_state_get() || ips->showing))
      {
         LOGI("Resizing by Rotation Geometry. Pending Drawing...");
         _e_input_panel_stop_drawing(ips);
index 740ae1b..d52d8a2 100644 (file)
@@ -2250,6 +2250,12 @@ e_text_input_update_input_panel_geometry(E_Client *ec)
      }
 }
 
+Eina_Bool
+e_text_input_activation_state_get()
+{
+   return g_text_input ? EINA_TRUE : EINA_FALSE;
+}
+
 E_API void *
 e_modapi_init(E_Module *m)
 {
index 5dfb8ad..2bc59c3 100644 (file)
@@ -28,6 +28,7 @@ int         e_input_panel_is_effect_running(void);
 void        e_input_panel_floating_panel_set(Eina_Bool state);
 void        e_input_panel_floating_drag_enabled(Eina_Bool enabled);
 Eina_Bool   e_input_panel_floating_mode_get(void);
+Eina_Bool   e_text_input_activation_state_get(void);
 
 typedef enum {
    TIZEN_PROFILE_UNKNOWN = 0,