e_client: remove e_client_check_fully_contain_by_above 82/320982/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 11 Mar 2025 08:33:08 +0000 (17:33 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 12 Mar 2025 09:26:31 +0000 (18:26 +0900)
Change-Id: I8f15e560c8a98b0bebb65a9f54e6aff7f5064420

src/bin/core/e_client.c
src/bin/core/e_client_intern.h

index 97e61fb5fcb14ea3c82608cf7e5e48e29a5f450d..708ea0978cc85b32a3efd4fe7a7bcf7a49e3b7f1 100644 (file)
@@ -829,51 +829,6 @@ e_client_intercept_hook_focus_revert_call(E_Client *ec)
   return EINA_FALSE;
 }
 
-EINTERN E_Client *
-e_client_check_fully_contain_by_above(E_Client *ec, Eina_Bool check_layer)
-{
-   E_Client *above = NULL;
-   E_Zone *zone = NULL;
-   int x = 0, y = 0, w = 0, h = 0;
-   int ax = 0, ay = 0, aw = 0, ah = 0;
-
-   if (!ec) return NULL;
-
-   e_client_geometry_get(ec, &x, &y, &w, &h);
-
-   zone = e_comp_zone_find_by_ec(ec);
-   if (zone)
-     E_RECTS_CLIP_TO_RECT(x, y, w, h, zone->x, zone->y, zone->w, zone->h);
-
-   above = e_client_above_get(ec);
-   while (above)
-     {
-        if ((check_layer) &&
-            (above->layer <= ec->layer))
-          {
-             above = e_client_above_get(above);
-             continue;
-          }
-
-        if ((!e_object_is_del(E_OBJECT(above))) &&
-            (!e_client_util_ignored_get(above)) &&
-            (above->visible) &&
-            (!above->iconic || e_policy_visibility_client_is_uniconic(above)) &&
-            (!above->bg_state) &&
-            (!above->argb) &&
-            (!above->visibility.force_obscured) &&
-            (above->frame))
-          {
-             e_client_geometry_get(above, &ax, &ay, &aw, &ah);
-             if (E_CONTAINS(ax, ay, aw, ah, x, y, w, h))
-               break;
-          }
-        above = e_client_above_get(above);
-     }
-
-   return above;
-}
-
 EINTERN E_Client *
 e_client_check_obscured_by_children_group(E_Client *ec)
 {
index 4cc5303dc0e2271846b3738728e004eb9a8da62e..d88bb0a494ffcbae02bedf60d3adb60e1bfdf991 100644 (file)
@@ -66,7 +66,6 @@ EINTERN Eina_Bool e_client_is_belong_to_parent(E_Client *ec);
 EINTERN Eina_Bool  e_client_check_above_focused(E_Client *ec);
 EINTERN E_Client  *e_client_check_obscured_by_children_group(E_Client *ec);
 EINTERN Eina_Bool  e_client_check_really_iconified(E_Client *ec);
-EINTERN E_Client  *e_client_check_fully_contain_by_above(E_Client *ec, Eina_Bool check_layer);
 
 EINTERN E_Iconified_Type e_client_iconified_type_get(E_Client *ec);