shell: Refactor pending surfaces for existing pending ones 31/26931/2
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 25 Nov 2021 22:07:09 +0000 (00:07 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 10 Dec 2021 14:44:08 +0000 (14:44 +0000)
commit9e9c768ad6360ef5616f6aa87064975899802f9f
tree6814109010951c3967c4dfeb46c8ad8b66ae713a
parent6d4038380b39f2047ec269017654208f1c01fbd3
shell: Refactor pending surfaces for existing pending ones

This patch refactors a bit the way we add pending surface roles, such
that it updates to an existing surface, rather than create a new one
with the same app_id.

Bug-AGL: SPEC-4133

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ifd7477ea0f0840d6fd82bbc21216a7694d0efa8b
src/shell.c