shsurf->view->geometry.y + dposy);
}
- /* Repaint implies weston_surface_update_transform(), which
+ /* Repaint implies weston_view_update_transform(), which
* lazily applies the damage due to rotation update.
*/
weston_compositor_schedule_repaint(shsurf->surface->compositor);
/*
* Calculate the source & dest rects properly based on actual
- * position (note the caller has called weston_surface_update_transform()
+ * position (note the caller has called weston_view_update_transform()
* for us already).
*/
pixman_region32_init(&dest_rect);
if (!weston_surface_is_mapped(surface)) {
struct weston_output *output;
- /* Cannot call weston_surface_update_transform(),
+ /* Cannot call weston_view_update_transform(),
* because that would call it also for the parent surface,
* which might not be mapped yet. That would lead to
* inconsistent state, where the window could never be
* mapped.
*
- * Instead just assing any output, to make
+ * Instead just assign any output, to make
* weston_surface_is_mapped() return true, so that when the
* parent surface does get mapped, this one will get
* included, too. See view_list_add().