summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-06-20 16:16:13 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-06-20 16:22:38 +0300
commitdd50730cefd6b97860f5de4eaa51b18cbf31fe7a (patch)
tree7955508d9eb426a374966c2832c68edd079f548d
parent14cb1da8c484fcfe6b63b856f4bc73e84ec2c459 (diff)
shell: Fix a typo when adding surface to pending listmarlin
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 (cherry picked from commit baf8a28e6329fdb6cdfb943925849d2cb6347730)
-rw-r--r--src/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c
index 98d244f..da229af 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -467,7 +467,7 @@ ivi_set_pending_desktop_surface_remote(struct ivi_output *ioutput,
if (!p_remote)
return;
- wl_list_insert(&ivi->remote_pending_apps, &remote->link);
+ wl_list_insert(&ivi->remote_pending_apps, &p_remote->link);
}