[PATCH] compositor: Fix comment of subsurface_commit_to_cache function

Chris Michael cp.michael at samsung.com
Thu Nov 26 08:30:00 PST 2015


commit 57388e44e5 accidentally changed the comment in
compositor.c::subsurface_commit_to_cache

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);
-- 
2.6.2



More information about the wayland-devel mailing list