From: SooChan Lim Date: Tue, 15 Apr 2025 06:48:06 +0000 (+0900) Subject: e_comp: reoder the skip conditions X-Git-Tag: accepted/tizen/unified/20250429.071401~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F86%2F323286%2F1;p=platform%2Fupstream%2Fenlightenment.git e_comp: reoder the skip conditions Change-Id: Ibd38f83eca26efdec51ccdd55eda48320e458de8 --- diff --git a/src/bin/compmgr/e_comp.c b/src/bin/compmgr/e_comp.c index aa17d82f2a..d53d0485b4 100644 --- a/src/bin/compmgr/e_comp.c +++ b/src/bin/compmgr/e_comp.c @@ -862,15 +862,16 @@ e_comp_vis_ec_list_get(E_Zone *zone) int x, y, w, h; int scr_w, scr_h; + // check if evas_object is the one of e_client aka ec->frame ec = evas_object_data_get(o, "E_Client"); if (!ec) continue; if (e_object_is_del(E_OBJECT(ec))) continue; - + if (e_client_util_ignored_get(ec)) continue; if (e_comp_zone_find_by_ec(ec) != zone) continue; // check clients to skip composite - if (e_client_util_ignored_get(ec) || (!evas_object_visible_get(ec->frame))) - continue; + if (!evas_object_visible_get(o)) continue; + if (evas_object_data_get(o, "comp_skip")) continue; // check geometry if located out of screen such as quick panel ecore_evas_geometry_get(e_comp->ee, NULL, NULL, &scr_w, &scr_h); @@ -878,15 +879,11 @@ e_comp_vis_ec_list_get(E_Zone *zone) ec->client.x, ec->client.y, ec->client.w, ec->client.h)) continue; - if (evas_object_data_get(ec->frame, "comp_skip")) - continue; - ec_list = eina_list_append(ec_list, ec); // find full opaque win and excludes below wins from the visible list. e_client_geometry_get(ec, &x, &y, &w, &h); - if (!E_CONTAINS(x, y, w, h, - 0, 0, scr_w, scr_h)) + if (!E_CONTAINS(x, y, w, h, 0, 0, scr_w, scr_h)) continue; if (!ec->argb)