struct ivishell *shell = userdata;
struct ivisurface *ivisurf = NULL;
uint32_t id_surface = 0;
+ struct ivicontroller_surface *ctrlsurf = NULL;
id_surface = ivi_layout_getIdOfSurface(layout_surface);
weston_log("failed to create surface");
return;
}
+
+ wl_list_for_each(ctrlsurf, &shell->list_controller_surface, link) {
+ if (id_surface != ctrlsurf->id_surface) {
+ continue;
+ }
+ ivi_controller_surface_send_content(ctrlsurf->resource, IVI_CONTROLLER_SURFACE_CONTENT_STATE_CONTENT_AVAILABLE);
+ }
}
static void
if (id_surface != ctrlsurf->id_surface) {
continue;
}
+ ivi_controller_surface_send_content(ctrlsurf->resource, IVI_CONTROLLER_SURFACE_CONTENT_STATE_CONTENT_REMOVED);
ivi_controller_surface_send_destroyed(ctrlsurf->resource);
}
}