e_hwc_windows: do not skip animating window in visible list 75/297775/2
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:56:22 +0000 (05:56 +0000)
animating window can be shown under 24 depth fullscreen window

Change-Id: I24122a8ff2b7467d2c46c85e36723f0a84ae7654

src/bin/e_hwc_windows.c

index 0741dd0..88d27f4 100644 (file)
@@ -1097,6 +1097,18 @@ _e_hwc_windows_client_get_from_object(Evas_Object *o, Eina_Bool *effect_client)
 }
 
 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)
 {
@@ -1231,7 +1243,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))