// --------------------------------------------------------
// iconify
// --------------------------------------------------------
-static void
-_tzpol_iface_cb_iconify(struct wl_client *client EINA_UNUSED, struct wl_resource *res_tzpol EINA_UNUSED, struct wl_resource *surf)
-{
- E_Client *ec;
- ec = wl_resource_get_user_data(surf);
+E_API void
+e_policy_wl_iconify(E_Client *ec)
+{
EINA_SAFETY_ON_NULL_RETURN(ec);
EINA_SAFETY_ON_NULL_RETURN(ec->frame);
EC_CHANGED(ec);
}
-static void
-_tzpol_iface_cb_uniconify(struct wl_client *client EINA_UNUSED, struct wl_resource *res_tzpol EINA_UNUSED, struct wl_resource *surf)
+E_API void
+e_policy_wl_uniconify(E_Client *ec)
{
- E_Client *ec;
-
- ec = wl_resource_get_user_data(surf);
EINA_SAFETY_ON_NULL_RETURN(ec);
EINA_SAFETY_ON_NULL_RETURN(ec->frame);
}
static void
+_tzpol_iface_cb_iconify(struct wl_client *client EINA_UNUSED, struct wl_resource *res_tzpol EINA_UNUSED, struct wl_resource *surf)
+{
+ E_Client *ec;
+
+ ec = wl_resource_get_user_data(surf);
+ e_policy_wl_iconify(ec);
+}
+
+static void
+_tzpol_iface_cb_uniconify(struct wl_client *client EINA_UNUSED, struct wl_resource *res_tzpol EINA_UNUSED, struct wl_resource *surf)
+{
+ E_Client *ec;
+
+ ec = wl_resource_get_user_data(surf);
+ e_policy_wl_uniconify(ec);
+}
+
+static void
_e_policy_wl_allowed_aux_hint_send(E_Client *ec, int id)
{
E_Policy_Wl_Tzpol *tzpol;
void e_policy_wl_visibility_send(E_Client *ec, int vis);
/* iconify */
-Eina_Bool e_policy_wl_iconify_state_supported_get(E_Client *ec);
-void e_policy_wl_iconify_state_change_send(E_Client *ec, int iconic);
+Eina_Bool e_policy_wl_iconify_state_supported_get(E_Client *ec);
+void e_policy_wl_iconify_state_change_send(E_Client *ec, int iconic);
+E_API void e_policy_wl_iconify(E_Client *ec);
+E_API void e_policy_wl_uniconify(E_Client *ec);
/* position */
void e_policy_wl_position_send(E_Client *ec);