The e_client provides e_client_cdata_get() function.
A user can get the ec->comp_data with this function.
Change-Id: I2c5206d4b2d311d283303478a66016cc1cacb7ca
_e_client_surface_tree_foreach_helper(ec, func, data);
}
+
+EINTERN E_Comp_Wl_Client_Data *e_client_cdata_get(E_Client *ec)
+{
+ if (!ec) return NULL;
+
+ return ec->comp_data;
+}
EINTERN void e_client_surface_tree_foreach(E_Client *ec, E_Client_Surface_Tree_Foreach func, void *data);
+// get a comp_data from a ec
+EINTERN E_Comp_Wl_Client_Data *e_client_cdata_get(E_Client *ec);
+
/**
* Move window to coordinates that do not account client decorations yet.
*