From 062edf2b4c18bba4b46c2b50eda9739cc80e7def Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 26 Nov 2015 11:30:00 -0500 Subject: [PATCH] compositor: Fix comment of subsurface_commit_to_cache function commit 57388e44e5 accidentally changed the comment in compositor.c::subsurface_commit_to_cache Signed-off-by: Chris Michael Reviewed-by: Derek Foreman --- src/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 65abb722..d723b64d 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);