Exemple #1
0
static void
cogland_surface_resource_destroy_cb (struct wl_resource *wayland_resource,
                                     struct wl_client *wayland_client)
{
  CoglandSurface *surface =
    container_of (wayland_resource, CoglandSurface, wayland_surface.resource);
  cogland_surface_free (surface);
}
Exemple #2
0
static void
cogland_surface_resource_destroy_cb (struct wl_resource *resource)
{
  CoglandSurface *surface = wl_resource_get_user_data (resource);
  cogland_surface_free (surface);
}
Exemple #3
0
static void
cogland_surface_resource_destroy_cb (struct wl_resource *resource)
{
  CoglandSurface *surface = resource->data;
  cogland_surface_free (surface);
}