e_comp->launchscrns = eina_list_remove(e_comp->launchscrns, ec);
}
-E_API Eina_List *
-e_comp_vis_ec_list_get(E_Zone *zone)
-{
- Eina_List *ec_list = NULL;
- E_Client *ec;
- Evas_Object *o;
-
- E_OBJECT_CHECK_RETURN(zone, NULL);
- E_OBJECT_TYPE_CHECK_RETURN(zone, E_ZONE_TYPE, NULL);
-
- // TODO: check if eout is available to use hwc policy
- for (o = evas_object_top_get(e_comp->evas); o; o = evas_object_below_get(o))
- {
- 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;
-
- 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);
- if (!E_INTERSECTS(0, 0, scr_w, scr_h,
- ec->client.x, ec->client.y, ec->client.w, ec->client.h))
- 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))
- continue;
-
- if (!ec->argb)
- break;
- }
-
- return ec_list;
-}
-
E_API void
e_comp_size_get(int *w, int *h)
{
E_API void e_comp_override_add(void);
E_API void e_comp_override_del(void);
E_API void e_comp_layer_name_get(unsigned int layer, char *buff, int buff_size);
-E_API void e_comp_ungrab_input(Eina_Bool mouse, Eina_Bool kbd);
E_API void e_comp_client_override_add(E_Client *ec);
E_API void e_comp_client_override_del(E_Client *ec);
E_API Eina_List *e_comp_ec_list_get(void);
E_API Eina_List *e_comp_connected_ec_list_get(void);
E_API Eina_List *e_comp_launchscrn_list_get(void);
-E_API Eina_List *e_comp_vis_ec_list_get(E_Zone *zone); // visible ec list sorted by z order
E_API void e_comp_size_get(int *w, int *h);
E_API E_Pointer *e_comp_pointer_get(void);