summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-11-26 11:30:00 -0500
committerDerek Foreman <derekf@osg.samsung.com>2015-11-26 14:24:16 -0600
commit062edf2b4c18bba4b46c2b50eda9739cc80e7def (patch)
tree50389a245a582a7a82c0e7fb17f98c8eda74981f
parent57e92ed7682204976214365ca41d5b556f2c56cf (diff)
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 <cp.michael@samsung.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
-rw-r--r--src/compositor.c2
1 files changed, 1 insertions, 1 deletions
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);