e_comp: reoder the skip conditions 86/323286/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 15 Apr 2025 06:48:06 +0000 (15:48 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 25 Apr 2025 07:25:30 +0000 (16:25 +0900)
Change-Id: Ibd38f83eca26efdec51ccdd55eda48320e458de8

src/bin/compmgr/e_comp.c

index aa17d82f2a1104959e562f5937075f44b3543ce9..d53d0485b42dbf4e30f2145a49922148d73e0623 100644 (file)
@@ -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)