layout: Inflict damage on all subsurfaces 82/26982/6
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 8 Dec 2021 11:18:55 +0000 (13:18 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 16 Dec 2021 12:43:00 +0000 (14:43 +0200)
commitd456a0c59a316f8fd137c57d6d3bc164e5a50399
treec42c80465a9e255e62a67cebe258ffd3b9861a11
parentc0bc469e505b91e006cb54bc98a9215614be2b52
layout: Inflict damage on all subsurfaces

As it has been seen with the camera-gstreamer application, when switching
back and forth between various other application and camera-gstreamer
we'll get artefacts/black surface as a result that we're only adding
damage to the main parent surface.

Bug-AGL: SPEC-4145

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