e_policy_visibility: use e_view_client_external_type 08/323408/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 25 Apr 2025 02:15:50 +0000 (11:15 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 28 Apr 2025 06:28:31 +0000 (15:28 +0900)
instead of e_comp_object_content_type

Change-Id: I6ad532f483aecfcdf9db332fe83b3cd0911aa798

src/bin/windowmgr/e_policy_visibility.c

index 8185262b6231d8fadeb75c6aed3827e3080f555b..a985e62030dea4af1c0e84ebad8c2b30ba6af116 100644 (file)
@@ -1667,7 +1667,7 @@ static Eina_Bool
 _e_vis_ec_activity_check(E_Client *ec, Eina_Bool check_alpha, Eina_Bool check_fullsize)
 {
    int x, y, w, h;
-   E_Comp_Object_Content_Type type = E_COMP_OBJECT_CONTENT_TYPE_NONE;
+   E_View_Client_External_View_Type external_view_type = E_VIEW_CLIENT_EXTERNAL_VIEW_TYPE_NONE;
    int check_mapped = 1;
    E_Desk *desk;
 
@@ -1678,9 +1678,10 @@ _e_vis_ec_activity_check(E_Client *ec, Eina_Bool check_alpha, Eina_Bool check_fu
    /* check deleted client */
    if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE;
    /* check launchscreen */
-   if (e_client_view_get(ec)) type = e_view_client_content_type_get(e_client_view_get(ec));
-   if ((type == E_COMP_OBJECT_CONTENT_TYPE_EXT_IMAGE) ||
-       (type == E_COMP_OBJECT_CONTENT_TYPE_EXT_EDJE))
+   if (e_client_view_get(ec))
+      external_view_type = e_view_client_external_view_type_get(e_client_view_get(ec));
+   if ((external_view_type == E_VIEW_CLIENT_EXTERNAL_VIEW_TYPE_IMAGE) ||
+       (external_view_type == E_VIEW_CLIENT_EXTERNAL_VIEW_TYPE_EDJE))
      check_mapped = 0;
    /* check unmapped client */
    if (check_mapped && ec->comp_data && !ec->comp_data->mapped) return EINA_FALSE;