e_appinfo_pid_set(eai, pid);
}
+static void
+_tzpol_iface_cb_show(struct wl_client *client EINA_UNUSED, struct wl_resource *res_tzpol EINA_UNUSED, struct wl_resource *surf)
+{
+ E_Client *ec;
+ E_Comp_Wl_Client_Data *cdata;
+
+ ec = wl_resource_get_user_data(surf);
+ EINA_SAFETY_ON_NULL_RETURN(ec);
+ EINA_SAFETY_ON_NULL_RETURN(ec->frame);
+
+ ELOGF("TZPOL", "SHOW REQUEST", ec);
+
+ cdata = e_client_cdata_get(ec);
+ if (cdata && !cdata->mapped)
+ {
+ if (e_config->raise_before_show)
+ {
+ e_client_raise(ec);
+ ec->post_raise = EINA_FALSE;
+ }
+ }
+}
+
+static void
+_tzpol_iface_cb_hide(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);
+ EINA_SAFETY_ON_NULL_RETURN(ec);
+ EINA_SAFETY_ON_NULL_RETURN(ec->frame);
+
+ ELOGF("TZPOL", "HIDE REQUEST", ec);
+}
+
// --------------------------------------------------------
// tizen_policy_interface
// --------------------------------------------------------
_tzpol_iface_cb_destroy,
_tzpol_iface_cb_has_video,
_tzpol_iface_cb_set_appid,
+ _tzpol_iface_cb_show,
+ _tzpol_iface_cb_hide,
};
static void
/* create globals */
global = wl_global_create(e_comp_wl->wl.disp,
&tizen_policy_interface,
- 7,
+ 8,
NULL,
_tzpol_cb_bind);
EINA_SAFETY_ON_NULL_GOTO(global, err);