[PATCH wayland 1/5] display-test: move a misplaced comment

Bryce Harrington bryce at osg.samsung.com
Fri May 20 00:59:15 UTC 2016


On Mon, May 16, 2016 at 11:44:40AM +0300, Pekka Paalanen wrote:
> 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>

Pushed:
   9ca9f8e..cc11b49  master -> master

 
> Thanks,
> pq

> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> 
> iQIVAwUBVzmIeCNf5bQRqqqnAQikIg/5AYSAj1cGEBN8T53GAsA5g3uw/gdmh82l
> m1RjF1w7Auh+S7EmZGUb73iXqrCGt0/+qKaMhdfHtzDlOJHagJPEBAPXW6eOfTOf
> mgiQl1WiIuj/NZneC3PyaxEfF0Zzu1TZNTscnUVEW29R6WQ+a2I5UwSrTNmsZhTs
> 2/QL4T9acZ9Pap4aON3yqusss+FJyQJVcjJ8MK40IuQMvSahE+nkrhxpIERlly6s
> k1CZ4TgBEtjbEHY7EDEgmCkJFQ4NZkkxSx1FUJx1bkOrl5s2E/+odPgAgALW3Hbu
> CliOlYy+Wu8j6HOYVXwU/sT6cNpS3mDzFSQTFsHJtBPzZh3d9XKp2IjT+FZMaocr
> IxFUjqZ4GLyTEfTycEfUD/v4WXnJqpXnx7PApeVQS7GXd3Gsm7vYK2GeZ8ZmNkA+
> kpOsVaAdhJ5MmLTQhFyRebP9Zy83d8UcqrwSHFxf/4zf9dVdYCiyrkbH0FOkKxwo
> +JgkdOYdnYiEgFNcjNMl2kvFAmlgW9gJgbjp0+XxeOHI0Mt3t8CrOTFGgbYPmydx
> d6cklEWlwGNLb/437A26HKBYnmfoEMmzrZnHYoiuZw87nK67ZCMvA3QVd51rajpC
> hyso+0h6NWg263su9KAdiDPHhbVhrXo522f/l0TuhyTOltqopc2rlSSvxIURIclS
> +2m6hNC2Ck0=
> =pXU3
> -----END PGP SIGNATURE-----


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



More information about the wayland-devel mailing list