[PATCH 1/4] eventdemo: fix incorrect comments

Kristian Høgsberg hoegsberg at gmail.com
Tue Aug 14 06:18:00 PDT 2012


On Tue, Aug 14, 2012 at 11:02:39AM +0200, Philipp Brüschweiler wrote:

That's a nice series, applied.

Kristian

> ---
>  clients/eventdemo.c | 8 ++++----
>  1 Datei geändert, 4 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-)
> 
> diff --git a/clients/eventdemo.c b/clients/eventdemo.c
> index 22dade3..5556a75 100644
> --- a/clients/eventdemo.c
> +++ b/clients/eventdemo.c
> @@ -90,7 +90,7 @@ struct eventdemo {
>  
>  /**
>   * \brief CALLBACK function, Wayland requests the window to redraw.
> - * \param window window to be redrawn
> + * \param widget widget to be redrawn
>   * \param data user data associated to the window
>   *
>   * Draws a red rectangle as demonstration of per-window data.
> @@ -126,7 +126,7 @@ redraw_handler(struct widget *widget, void *data)
>  
>  /**
>   * \brief CALLBACK function, Wayland requests the window to resize.
> - * \param window window to be resized
> + * \param widget widget to be resized
>   * \param width desired width
>   * \param height desired height
>   * \param data user data associated to the window
> @@ -205,7 +205,7 @@ key_handler(struct window *window, struct input *input, uint32_t time,
>  
>  /**
>   * \brief CALLBACK function, Wayland informs about button event
> - * \param window window
> + * \param widget widget
>   * \param input input device that caused the button event
>   * \param time time the event happend
>   * \param button button
> @@ -231,7 +231,7 @@ button_handler(struct widget *widget, struct input *input, uint32_t time,
>  
>  /**
>   * \brief CALLBACK function, Waylands informs about pointer motion
> - * \param window window
> + * \param widget widget
>   * \param input input device that caused the motion event
>   * \param time time the event happend
>   * \param x absolute x position
> -- 
> 1.7.11.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list