From: Yong Bakos <yba...@humanoriented.com>

Hyphenate 'multi screen' coordinates, and correct misspellings and
grammar within changed lines.

See https://lists.freedesktop.org/archives/wayland-devel/2016-April/028249.html.

Signed-off-by: Yong Bakos <yba...@humanoriented.com>
---
 ivi-shell/ivi-layout.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 4142694..1601787 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -456,24 +456,24 @@ calc_inverse_matrix_transform(const struct weston_matrix 
*matrix,
 
 /**
  * This computes the whole transformation matrix:m from surface-local
- * coordinates to multi screens coordinate, which is global coordinates.
+ * coordinates to multi-screen coordinates, which are global coordinates.
  * It is assumed that weston_view::geometry.{x,y} are zero.
  *
  * Additionally, this computes the mask on surface-local coordinates as a
  * ivi_rectangle. This can be set to weston_view_set_mask.
  *
  * The mask is computed by following steps
- * - destination rectangle of layer is tansformed to multi screen coordinate,
+ * - destination rectangle of layer is transformed to multi-screen coordinates,
  *   global coordinates. This is done by adding weston_output.{x,y} in simple
  *   because there is no scaled and rotated transformation.
- * - destination rectangle of layer in multi screens coordinate needs to be
+ * - destination rectangle of layer in multi-screen coordinates needs to be
  *   intersected inside of a screen the layer is assigned to. This is because
  *   overlapped region of weston surface in another screen shall not be
  *   displayed according to ivi use case.
  * - destination rectangle of layer
- *   - in multi screen coordinates,
+ *   - in multi-screen coordinates,
  *   - and intersected inside of an assigned screen,
- *   is inversed to surface-local cooodinates by inversed matrix:m.
+ *   is inversed to surface-local coordinates by inversed matrix:m.
  * - the area is intersected by intersected area between weston_surface and
  *   source rectangle of ivi_surface.
  */
@@ -525,9 +525,9 @@ calc_surface_to_global_matrix_and_mask_to_weston_surface(
         * coordinates to global coordinates, which is computed by
         * two steps,
         * - surface-local coordinates to layer-local coordinates
-        * - layer-local coordinates to a single screen-local coordinates
-        * - a single screen-local coordinates to multi screen coordinates,
-         *   which is global coordinates.
+        * - layer-local coordinates to single screen-local coordinates
+        * - single screen-local coordinates to multi-screen coordinates,
+        *   which are global coordinates.
         */
        calc_transformation_matrix(&surface_source_rect,
                                   &surface_dest_rect,
-- 
2.7.2

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to