From: SooChan Lim Date: Thu, 29 Oct 2020 00:44:09 +0000 (+0900) Subject: e_client: add e_client_mapped_get() function. X-Git-Tag: submit/tizen/20201102.081405~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a95a12b2915f19edcd3ad30cd05e947c10516e4;p=platform%2Fupstream%2Fenlightenment.git e_client: add e_client_mapped_get() function. Change-Id: I01604ba714dc2726ccc389a6e011ab213cc13318 --- diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 207c89fd8e..218f90d2d2 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -4040,6 +4040,14 @@ e_client_first_mapped_get(E_Client *ec) return ec->first_mapped; } +EINTERN Eina_Bool e_client_mapped_get(E_Client *ec) +{ + E_Comp_Wl_Client_Data *cdata = e_client_cdata_get(ec); + EINA_SAFETY_ON_NULL_RETURN_VAL(cdata, EINA_FALSE); + + return cdata->mapped; +} + //////////////////////////////////////////////// EINTERN void e_client_idler_before(void) diff --git a/src/bin/e_client.h b/src/bin/e_client.h index dd6a4215c9..dc8281ec7c 100644 --- a/src/bin/e_client.h +++ b/src/bin/e_client.h @@ -1169,6 +1169,7 @@ E_API void e_client_visibility_calculate(void); E_API void e_client_visibility_skip_set(E_Client *ec, Eina_Bool skip); E_API void e_client_post_raise_lower_set(E_Client *ec, Eina_Bool raise_set, Eina_Bool lower_set); E_API Eina_Bool e_client_first_mapped_get(E_Client *ec); +EINTERN Eina_Bool e_client_mapped_get(E_Client *ec); E_API void e_client_transform_update(E_Client *ec); E_API void e_client_transform_apply(E_Client *ec, double degree, double zoom, int cx, int cy);