{
struct ivi_output *out;
+ if (!app_id) {
+ weston_log("ivi_layout_find_with_app_id() failed w/ no app_id\n");
+ return NULL;
+ }
+
wl_list_for_each(out, &ivi->outputs, link) {
if (!out->app_id)
continue;
weston_layer_entry_remove(&view->layer_link);
weston_output_damage(ivi_output->output);
+ ivi_output->active = NULL;
}
} else {
struct weston_desktop_surface *dsurface;