libweston: fix typos

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
This commit is contained in:
Maxime Roussin-Bélanger 2020-12-17 17:10:13 -05:00
parent 35e34505ce
commit 1d009c248e
5 changed files with 11 additions and 11 deletions

View File

@ -1467,7 +1467,7 @@ struct weston_surface {
/* All the pending state, that wl_surface.commit will apply. */
struct weston_surface_state pending;
/* Matrices representating of the full transformation between
/* Matrices representing of the full transformation between
* buffer and surface coordinates. These matrices are updated
* using the weston_surface_build_buffer_matrix function. */
struct weston_matrix buffer_to_surface_matrix;

View File

@ -5246,7 +5246,7 @@ weston_compositor_iterate_heads(struct weston_compositor *compositor,
* If you cause \c iter to be removed from the list, you cannot use it to
* continue iterating. Removing any other item is safe.
*
* \ingroup ouput
* \ingroup output
*/
WL_EXPORT struct weston_head *
weston_output_iterate_heads(struct weston_output *output,
@ -6125,7 +6125,7 @@ weston_compositor_remove_output(struct weston_output *output)
* It only supports setting scale for an output that
* is not enabled and it can only be ran once.
*
* \ingroup ouput
* \ingroup output
*/
WL_EXPORT void
weston_output_set_scale(struct weston_output *output,
@ -6517,7 +6517,7 @@ weston_compositor_flush_heads_changed(struct weston_compositor *compositor)
* @note This is for the final destruction of an output, not when it gets
* disabled. If you want to keep track of enabled outputs, this is not it.
*
* \ingroup ouput
* \ingroup output
*/
WL_EXPORT void
weston_output_add_destroy_listener(struct weston_output *output,
@ -6555,7 +6555,7 @@ weston_output_get_destroy_listener(struct weston_output *output,
* All fields of weston_output become uninitialized, i.e. should not be used
* anymore. The caller can free the memory after this.
*
* \ingroup ouput
* \ingroup output
* \internal
*/
WL_EXPORT void
@ -6677,7 +6677,7 @@ weston_compositor_create_output_with_head(struct weston_compositor *compositor,
* weston_compositor_destroy() will automatically destroy any remaining
* outputs.
*
* \ingroup ouput
* \ingroup output
*/
WL_EXPORT void
weston_output_destroy(struct weston_output *output)
@ -6693,7 +6693,7 @@ weston_output_destroy(struct weston_output *output)
* \param output The weston_output whose head to get.
* \return The first head in the output's list.
*
* \ingroup ouput
* \ingroup output
*/
WL_EXPORT struct weston_head *
weston_output_get_first_head(struct weston_output *output)

View File

@ -93,7 +93,7 @@ set_type(struct wl_client *client, struct wl_resource *resource,
"wl_surface@%"PRIu32" Invalid content-type %d for request:set_type\n",
wl_resource_get_id(surface_resource), content_type);
content_protection_log(cp, "wl_surface@%"PRIu32" Invalid content-type %d for resquest:set_type\n",
content_protection_log(cp, "wl_surface@%"PRIu32" Invalid content-type %d for request:set_type\n",
wl_resource_get_id(surface_resource), content_type);
return;
}

View File

@ -362,7 +362,7 @@ weston_timeline_get_subscription_object(struct weston_log_subscription *sub,
* Can be used from outside libweston.
*
* @param wc a weston_compositor instance
* @param object the underyling object
* @param object the underlying object
*
* @ingroup log
*/

View File

@ -462,7 +462,7 @@ compositor_destroy_listener(struct wl_listener *listener, void *data)
struct weston_log_context *log_ctx =
wl_container_of(listener, log_ctx, compositor_destroy_listener);
/* We have to keep this list initalized as weston_log_ctx_destroy() has
/* We have to keep this list initialized as weston_log_ctx_destroy() has
* to check if there's any compositor destroy listener registered */
wl_list_remove(&log_ctx->compositor_destroy_listener.link);
wl_list_init(&log_ctx->compositor_destroy_listener.link);
@ -745,7 +745,7 @@ weston_log_subscription_complete(struct weston_log_subscription *sub)
*
* Complete the log scope, calling each stream's complete callback if one was
* installed/created. This can be useful to signal the reading end that the
* data has been transmited and should no longer expect that written over the
* data has been transmitted and should no longer expect that written over the
* stream. Particularly useful for the weston-debug protocol.
*
* @memberof weston_log_scope