[PATCH 1/2] compositor: Fix a couple comment typos

Pekka Paalanen ppaalanen at gmail.com
Tue Dec 22 06:23:44 PST 2015


On Fri, 11 Dec 2015 13:11:37 -0800
Bryce Harrington <bryce at osg.samsung.com> wrote:

> Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
> ---
>  src/compositor-fbdev.c | 2 +-
>  src/compositor.h       | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c
> index 57c54c2..e27df6d 100644
> --- a/src/compositor-fbdev.c
> +++ b/src/compositor-fbdev.c
> @@ -786,7 +786,7 @@ session_notify(struct wl_listener *listener, void *data)
>  		/* If we have a repaint scheduled (from the idle handler), make
>  		 * sure we cancel that so we don't try to pageflip when we're
>  		 * vt switched away.  The OFFSCREEN state will prevent
> -		 * further attemps at repainting.  When we switch
> +		 * further attempts at repainting.  When we switch
>  		 * back, we schedule a repaint, which will process
>  		 * pending frame callbacks. */
>  
> diff --git a/src/compositor.h b/src/compositor.h
> index 43db92e..c25a103 100644
> --- a/src/compositor.h
> +++ b/src/compositor.h
> @@ -566,10 +566,10 @@ struct weston_seat {
>  };
>  
>  enum {
> -	WESTON_COMPOSITOR_ACTIVE,
> +	WESTON_COMPOSITOR_ACTIVE,	/* normal rendering and events */
>  	WESTON_COMPOSITOR_IDLE,		/* shell->unlock called on activity */
>  	WESTON_COMPOSITOR_OFFSCREEN,	/* no rendering, no frame events */
> -	WESTON_COMPOSITOR_SLEEPING	/* same as offscreen, but also set dmps
> +	WESTON_COMPOSITOR_SLEEPING	/* same as offscreen, but also set dpms
>                                           * to off */
>  };
>  

Pushed:
   f05d18f..c2be857  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151222/a9dc5330/attachment.sig>


More information about the wayland-devel mailing list