From: Doyoun Kang Date: Mon, 15 Jul 2024 23:42:19 +0000 (+0900) Subject: e_comp_wl: add E_APIs for checking comp_data of E_Client X-Git-Tag: accepted/tizen/unified/20240717.060618~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f7466a3b52cc3b4b51daa09493be9ddaa2bc85d;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl: add E_APIs for checking comp_data of E_Client Change-Id: I9a1ce6e5e4969a53077fb30c3ebd3aae84da4fbc --- diff --git a/src/bin/server/e_comp_wl.c b/src/bin/server/e_comp_wl.c index 32b30d834f..c005bf3d2b 100644 --- a/src/bin/server/e_comp_wl.c +++ b/src/bin/server/e_comp_wl.c @@ -4161,6 +4161,13 @@ e_comp_wl_touch_cancel(void) /////////////////////////////////////////////////////////// // This is for getting/setting internal value of E_Comp_Wl_Client_Data +E_API Eina_Bool +e_comp_wl_data_check(E_Client *ec) +{ + EINA_SAFETY_ON_NULL_RETURN_VAL(ec, EINA_FALSE); + + return ec->comp_data ? EINA_TRUE : EINA_FALSE; +} E_API Eina_Bool e_comp_wl_aux_hint_changed_get(E_Client *ec) diff --git a/src/include/e_comp_wl.h b/src/include/e_comp_wl.h index 34b537cd91..350c206233 100644 --- a/src/include/e_comp_wl.h +++ b/src/include/e_comp_wl.h @@ -604,6 +604,8 @@ E_API void e_comp_wl_input_cursor_timer_enable_set(Eina_Boo /////////////////////////////////////////////////////////// // This is for getting/setting internal value of E_Comp_Wl_Client_Data +E_API Eina_Bool e_comp_wl_data_check(E_Client *ec); + E_API Eina_Bool e_comp_wl_aux_hint_changed_get(E_Client *ec); E_API E_Comp_Wl_Buffer *e_comp_wl_buffer_ref_buffer_get(E_Client *ec);