e_policy_visibility: add wrapper function of _e_vis_client_is_uniconic 87/181987/4
authorJunSeok, Kim <juns.kim@samsung.com>
Tue, 19 Jun 2018 10:21:36 +0000 (19:21 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 25 Jun 2018 04:59:33 +0000 (04:59 +0000)
Change-Id: I11eceafe7a4fc54f828392f655182c3cfcc09b32

src/bin/e_policy_visibility.c
src/bin/e_policy_visibility.h

index b5c0844424dc696eb760f6d3454e1c72f509d1d3..476e88df6793d68721f1e3c24979f5360bc96513 100644 (file)
@@ -2125,6 +2125,14 @@ e_policy_visibility_client_is_iconic(E_Client *ec)
    return _e_vis_client_is_iconic(vc);
 }
 
+EINTERN Eina_Bool
+e_policy_visibility_client_is_uniconic(E_Client *ec)
+{
+   E_VIS_CLIENT_GET_OR_RETURN_VAL(vc, ec, EINA_FALSE);
+
+   return _e_vis_client_is_uniconic(vc);
+}
+
 E_API Eina_Bool
 e_policy_visibility_client_is_uniconify_render_running(E_Client *ec)
 {
index 6faefbd3d6782d3c51b6f29a943d5473f6f6bf0c..bb5dcc95c856a59670eca428d8ae03261c9b04de 100644 (file)
@@ -34,6 +34,7 @@ E_API Eina_Bool                   e_policy_visibility_client_hide_job_cancel(E_C
 E_API E_Pol_Vis_Hook             *e_policy_visibility_hook_add(E_Pol_Vis_Hook_Type type, E_Pol_Vis_Hook_Cb cb, const void *data);
 E_API void                        e_policy_visibility_hook_del(E_Pol_Vis_Hook *h);
 E_API Eina_Bool                   e_policy_visibility_client_is_iconic(E_Client *ec);
+EINTERN Eina_Bool                 e_policy_visibility_client_is_uniconic(E_Client *ec);
 E_API Eina_Bool                   e_policy_visibility_client_is_uniconify_render_running(E_Client *ec);
 
 EINTERN void                      e_policy_visibility_client_defer_move(E_Client *ec);