summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Chalupa <mchqwerty@gmail.com>2016-05-13 15:01:18 +0200
committerBryce Harrington <bryce@osg.samsung.com>2016-05-19 17:57:18 -0700
commitcc11b493426c46e86aee0bcd7c92ca9e9e23030d (patch)
tree17142b594cd58259c94b07d482ae97972eff5a83
parent9ca9f8e4b27f51a4d8b1b0823a93f15cf76540aa (diff)
downloadwayland-cc11b493426c46e86aee0bcd7c92ca9e9e23030d.tar.gz
display-test: move a misplaced comment
we split a function while refactoring in c643781 and now the comment makes no sense Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r--tests/display-test.c4
1 files 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;
}