[PATCH] compositor: Fix comment of subsurface_commit_to_cache function
Derek Foreman
derekf at osg.samsung.com
Thu Nov 26 12:23:54 PST 2015
On 26/11/15 10:30 AM, Chris Michael wrote:
> commit 57388e44e5 accidentally changed the comment in
> compositor.c::subsurface_commit_to_cache
>
Yup, looks correct to me.
Reviewed-by: Derek Foreman <derekf at osg.samsung.com>
(and pushed)
> Signed-off-by: Chris Michael <cp.michael at samsung.com>
> ---
> src/compositor.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compositor.c b/src/compositor.c
> index 65abb72..d723b64 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -3033,7 +3033,7 @@ weston_subsurface_commit_to_cache(struct weston_subsurface *sub)
> * If this commit would cause the surface to move by the
> * attach(dx, dy) parameters, the old damage region must be
> * translated to correspond to the new surface coordinate system
> - * original_mode.
> + * origin.
> */
> pixman_region32_translate(&sub->cached.damage,
> -surface->pending.sx, -surface->pending.sy);
>
More information about the wayland-devel
mailing list