e_hwc_windows: do not skip animating window in visible list 76/297776/1 accepted/tizen/7.0/unified/20230825.185046
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 23 Aug 2023 09:38:28 +0000 (18:38 +0900)
committerchangyeon lee <cyeon.lee@samsung.com>
Thu, 24 Aug 2023 05:37:34 +0000 (05:37 +0000)
animating window can be shown under 24 depth fullscreen window

Change-Id: I24122a8ff2b7467d2c46c85e36723f0a84ae7654

src/bin/e_hwc_windows.c

index 5c0fdf0a4d3207841f274cfd55b05a73eb2c6aaf..afbd54c5cade9a222a58132982da7e9ea8e53d83 100644 (file)
@@ -1074,6 +1074,18 @@ _e_hwc_windows_client_get_from_object(Evas_Object *o, Eina_Bool *effect_client)
    return ec;
 }
 
+static Eina_Bool
+_e_hwc_window_client_animating_get(E_Client *ec)
+{
+   if (e_comp_object_is_animating(ec->frame))
+     return EINA_TRUE;
+
+   if (evas_object_data_get(ec->frame, "effect_running"))
+     return EINA_TRUE;
+
+   return EINA_FALSE;
+}
+
 static Eina_Bool
 _e_hwc_windows_client_fully_mask_get(E_Client *ec, int x, int y, int w, int h,
                                      int ee_w, int ee_h)
@@ -1207,7 +1219,7 @@ _e_hwc_windows_visible_windows_list_get(E_Hwc *hwc)
           }
         else
           {
-             if (ui_skip)
+             if ((ui_skip) && (!_e_hwc_window_client_animating_get(ec)))
                {
                  /* check parent of subsurface is bottom ec */
                  if ((ec->comp_data) && (ec->comp_data->sub.data))