shell: Fix a typo when adding surface to pending list 81/27681/1
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 20 Jun 2022 13:16:13 +0000 (16:16 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 20 Jun 2022 13:20:21 +0000 (16:20 +0300)
commitbaf8a28e6329fdb6cdfb943925849d2cb6347730
tree3fad914da998c7150d7726a30721cab6bbb667a4
parent1797ef75adcb4c586d51302f69d33995c3878e95
shell: Fix a typo when adding surface to pending list

As both names are similar this was probably a typo, and instead of using
the iterator for the list we should use the item itself. This was pretty
hard to track as initially everything was set-up alright.

We were still getting empty lists of pending remote surfaces, when I
observed that we were using the iterator rather than the new item we
just create in that function.

Bug-AGL: SPEC-4445
Reported-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I77c4c6721eb4a4e3e8e66faa4fa0584b136d322e
src/shell.c