mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-02 07:15:53 -04:00
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>
This commit is contained in:
parent
9ca9f8e4b2
commit
cc11b49342
1 changed files with 2 additions and 2 deletions
|
|
@ -211,8 +211,6 @@ find_client_info(struct display *d, struct wl_client *client)
|
||||||
{
|
{
|
||||||
struct client_info *ci;
|
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) {
|
wl_list_for_each(ci, &d->clients, link) {
|
||||||
if (ci->wl_client == client)
|
if (ci->wl_client == client)
|
||||||
return ci;
|
return ci;
|
||||||
|
|
@ -235,6 +233,8 @@ bind_seat(struct wl_client *client, void *data,
|
||||||
res = wl_resource_create(client, &wl_seat_interface, vers, id);
|
res = wl_resource_create(client, &wl_seat_interface, vers, id);
|
||||||
assert(res);
|
assert(res);
|
||||||
|
|
||||||
|
/* save the resource as client's info data,
|
||||||
|
* so that we can use it later */
|
||||||
ci->data = res;
|
ci->data = res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue