layout: Inflict damage on all subsurfaces 83/26983/2
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 8 Dec 2021 11:18:55 +0000 (13:18 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 14 Dec 2021 10:43:58 +0000 (12:43 +0200)
commitcaee6f9e8e73d015ed90e9f696c1d511ed23301e
treea8f5036866f3787aff8247dbbdd9d4cce1ba75d3
parent59b6881bc315388ba0c8f1be382dce1f6aed3304
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