e_comp_wl: Deprecate has_extern_parent 82/315982/1
authorSeunghun Lee <shiin@samsung.com>
Wed, 27 Nov 2024 06:55:14 +0000 (15:55 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 9 Dec 2024 02:31:01 +0000 (11:31 +0900)
This variable is no longer used.

Change-Id: I7487e0395219b8652c09f4abece26bc02f84fb5c

src/bin/server/e_policy_wl.c
src/include/e_comp_wl.h

index 2029c728fc0b6cdf82dcbd9a9ebfbdb80f2c6608..dd53ae49e17cc2fb4427bd5541fb6201adc1bfb1 100644 (file)
@@ -2310,7 +2310,6 @@ static void
 _tzpol_iface_cb_subsurface_get(struct wl_client *client, struct wl_resource *resource, uint32_t id, struct wl_resource *surface, uint32_t parent_id)
 {
    E_Client *ec, *epc;
-   E_Comp_Wl_Client_Data *cdata;
    Eina_Bool res;
 
    ELOGF("TZPOL",
@@ -2363,11 +2362,6 @@ _tzpol_iface_cb_subsurface_get(struct wl_client *client, struct wl_resource *res
         ERR("Failed to add subsurface for surface@%d", wl_resource_get_id(surface));
         return;
      }
-
-   /* ec's parent comes from another process */
-   cdata = e_client_cdata_get(ec);
-   if (cdata)
-     cdata->has_extern_parent = EINA_TRUE;
 }
 
 static E_Alpha_Opaque
index 43aba06adf9aaafd196331a1c180bb2c6b1135d4..3ad5ce4ceb005da033620e353d74e3591cc3427e 100644 (file)
@@ -485,7 +485,7 @@ struct _E_Comp_Wl_Client_Data
 
    Eina_Bool keep_buffer : 1;
    Eina_Bool mapped : 1;
-   Eina_Bool has_extern_parent : 1;
+   EINA_DEPRECATED Eina_Bool has_extern_parent : 1;
    Eina_Bool need_reparent : 1;
    Eina_Bool reparented : 1;
    Eina_Bool evas_init : 1;