ivi->shell_client.status == BOUND_FAILED) {
wl_resource_post_error(shell_res,
WL_DISPLAY_ERROR_INVALID_OBJECT,
- "agl_shell has already been bound. "
- "Check out bound_fail event");
+ "agl_shell (ready quest) has already "
+ "been bound. Check out bound_fail event");
return;
}
ivi->shell_client.resource_ext == shell_res) {
wl_resource_post_error(shell_res,
WL_DISPLAY_ERROR_INVALID_OBJECT,
- "agl_shell has already been bound. "
- "Check out bound_fail event");
+ "agl_shell (set_background) has already "
+ "been bound. Check out bound_fail event");
return;
}
ivi->shell_client.resource_ext == shell_res) {
wl_resource_post_error(shell_res,
WL_DISPLAY_ERROR_INVALID_OBJECT,
- "agl_shell has already been bound. "
+ "agl_shell (set_panel) has already been bound. "
"Check out bound_fail event");
return;
}
struct weston_output *woutput = weston_head_get_output(head);
struct ivi_output *ioutput = to_ivi_output(woutput);
struct ivi_surface *surf = ivi_find_app(ivi, app_id);
- struct ivi_output *desktop_last_output = surf->desktop.last_output;
- struct ivi_output *current_completed_output =
- surf->current_completed_output;
+ struct ivi_output *desktop_last_output;
+ struct ivi_output *current_completed_output;
if (!app_id || !ioutput)
return;
return;
}
+ desktop_last_output = surf->desktop.last_output;
+ current_completed_output = surf->current_completed_output;
+
if (surf->remote.output)
surf->hidden_layer_output = surf->remote.output;
else
ivi->shell_client.ready = false;
ivi->shell_client.resource = NULL;
+ ivi->shell_client.resource_ext = NULL;
ivi->shell_client.client = NULL;
}
struct ivi_compositor *ivi = wl_resource_get_user_data(resource);
ivi->shell_client_ext.resource = NULL;
+ ivi->shell_client.resource_ext = NULL;
}
static void