Fix display freezing issue on booting time 22/282222/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20220929.120802 submit/tizen_6.5/20220928.113015
authorInHong Han <inhong1.han@samsung.com>
Wed, 28 Sep 2022 11:20:22 +0000 (20:20 +0900)
committerInHong Han <inhong1.han@samsung.com>
Wed, 28 Sep 2022 11:20:22 +0000 (20:20 +0900)
Change-Id: I7cd627dba05deb1664c51b265b8844b835d34156

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

index a97aa471640dbb7a3cdf94edf9cde3d8f5a0f402..cd3a0338ee0048ef26f9c6e6420188b8e5d5263d 100644 (file)
@@ -991,8 +991,9 @@ _e_input_panel_rotation_geometry_set(void *data, E_Client *ec)
       default:  i = 0; break;
      }
 
-   if ((w != ec->e.state.rot.geom[i].w) ||
-       (h != ec->e.state.rot.geom[i].h))
+   if (((w != ec->e.state.rot.geom[i].w) ||
+       (h != ec->e.state.rot.geom[i].h)) &&
+       (e_text_input_activation_state_get() || ips->showing))
      {
         LOGI("Resizing by Rotation Geometry. Pending Drawing...");
         _e_input_panel_stop_drawing(ips);
index 46a27012d811b252c9078af2ceb76c400d116ad9..53e76e879adde7a2d9d00b7713bdc7ce59070ff6 100644 (file)
@@ -2579,6 +2579,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 5dfb8ad78fc47be91a65ecc57cad279f0dd0d240..2bc59c3362f1a6021912b52bcaca345869212c9f 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,