mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-04-20 08:20:52 +02:00
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>
This commit is contained in:
parent
57e92ed768
commit
062edf2b4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue