// --------------------------------------------------------
// subsurface
// --------------------------------------------------------
+
+static const struct wl_subsurface_interface _tzpol_subsurface_fake_impl;
+
static void
_tzpol_iface_cb_subsurf_place_below_parent(struct wl_client *client EINA_UNUSED, struct wl_resource *res_tzpol EINA_UNUSED, struct wl_resource *subsurf)
{
+ if (wl_resource_instance_of(subsurf, &wl_subsurface_interface, &_tzpol_subsurface_fake_impl))
+ return;
+
e_comp_wl_subsurface_resource_place_below_parent(subsurf);
}
static void
_tzpol_iface_cb_subsurf_stand_alone_set(struct wl_client *client EINA_UNUSED, struct wl_resource *res_tzpol EINA_UNUSED, struct wl_resource *subsurf)
{
+ if (wl_resource_instance_of(subsurf, &wl_subsurface_interface, &_tzpol_subsurface_fake_impl))
+ return;
+
e_comp_wl_subsurface_resource_stand_alone_mode_set(subsurf);
}