[PATCH wayland 1/5] display-test: move a misplaced comment
Pekka Paalanen
ppaalanen at gmail.com
Mon May 16 08:44:40 UTC 2016
On Fri, 13 May 2016 15:01:18 +0200
Marek Chalupa <mchqwerty at gmail.com> wrote:
> we split a function while refactoring in c643781 and now
> the comment makes no sense
>
> Signed-off-by: Marek Chalupa <mchqwerty at gmail.com>
> ---
> tests/display-test.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/display-test.c b/tests/display-test.c
> index f9f8160..17956db 100644
> --- a/tests/display-test.c
> +++ b/tests/display-test.c
> @@ -211,8 +211,6 @@ find_client_info(struct display *d, struct wl_client *client)
> {
> struct client_info *ci;
>
> - /* find the right client_info struct and save the
> - * resource as its data, so that we can use it later */
> wl_list_for_each(ci, &d->clients, link) {
> if (ci->wl_client == client)
> return ci;
> @@ -235,6 +233,8 @@ bind_seat(struct wl_client *client, void *data,
> res = wl_resource_create(client, &wl_seat_interface, vers, id);
> assert(res);
>
> + /* save the resource as client's info data,
> + * so that we can use it later */
> ci->data = res;
> }
>
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
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: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160516/d37c2caa/attachment.sig>
More information about the wayland-devel
mailing list