From: SooChan Lim Date: Wed, 16 Apr 2025 02:50:18 +0000 (+0900) Subject: e_policy_zone: use e_view_client api X-Git-Tag: accepted/tizen/unified/20250429.071401~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F323290%2F1;p=platform%2Fupstream%2Fenlightenment.git e_policy_zone: use e_view_client api change e_comp_object_content_type_get to e_view_client_content_type_get Change-Id: I453ee11e7d76ff856f5c629b02724981826aa442 --- diff --git a/src/bin/windowmgr/e_policy_zone.c b/src/bin/windowmgr/e_policy_zone.c index f137a3c81e..c15f5bf9f1 100644 --- a/src/bin/windowmgr/e_policy_zone.c +++ b/src/bin/windowmgr/e_policy_zone.c @@ -1320,6 +1320,7 @@ e_policy_zone_visibility_calculate(E_Policy_Zone *policy_zone) { E_Zone *zone; E_Client *ec; + E_View_Client *view_client; Eina_Tiler *t; Eina_Rectangle r, *_r; @@ -1378,13 +1379,14 @@ e_policy_zone_visibility_calculate(E_Policy_Zone *policy_zone) calc_skip_type = 0; if (e_object_is_del(E_OBJECT(ec))) continue; if (e_client_util_ignored_get(ec)) continue; - if (!e_client_view_get(ec)) continue; + view_client = e_client_view_get(ec); + if (!view_client) continue; if (ec->visibility.skip) continue; if (ec->is_cursor) continue; cdata = e_client_cdata_get(ec); if (e_comp_wl_subsurface_check(ec)) continue; if ((!ec->first_mapped) && - (e_comp_object_content_type_get(ec->frame) == E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE)) continue; + (e_view_client_content_type_get(view_client) == E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE)) continue; /* TODO: need to check whether window intersects with entire screen, not zone. */ /* if (!E_INTERSECTS(ec->x, ec->y, ec->w, ec->h, zone->x, zone->y, zone->w, zone->h)) continue; */