diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2014-09-10 15:37:33 -0500 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-09-11 11:52:56 +0300 |
commit | 4b1a0a1d07b4312e90bc20ff13d465add90a41ff (patch) | |
tree | 95d28f35ae1e5a381ba97695bc4729261c52871e /src | |
parent | 26237862770baf5d162cdcf23b33a1577ae98de7 (diff) | |
download | weston-4b1a0a1d07b4312e90bc20ff13d465add90a41ff.tar.gz |
cosmetic: update comments that refer to weston_surface_update_transform()
weston_surface_update_transform() no longer exists, except in comments.
Fix that.
[Pekka Paalanen: don't lose the full comment in compositor-drm.c.]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor-drm.c | 2 | ||||
-rw-r--r-- | src/compositor.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 9c83b1a7..e4496e76 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -900,7 +900,7 @@ drm_output_prepare_overlay_view(struct weston_output *output_base, /* * 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); diff --git a/src/compositor.c b/src/compositor.c index 18975bf4..b0bc86c9 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2621,13 +2621,13 @@ subsurface_configure(struct weston_surface *surface, int32_t dx, int32_t dy) 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(). |