From caee6f9e8e73d015ed90e9f696c1d511ed23301e Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 8 Dec 2021 13:18:55 +0200 Subject: [PATCH] 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 Change-Id: Idf49e6c9100d63f5a5c63c34bfc65e8641eba822 --- src/layout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layout.c b/src/layout.c index ff1713b..bcc8581 100644 --- a/src/layout.c +++ b/src/layout.c @@ -216,6 +216,7 @@ ivi_layout_activate_complete(struct ivi_output *output, weston_layer_entry_insert(&ivi->normal.view_list, &view->layer_link); weston_view_update_transform(view); + weston_view_geometry_dirty(view); weston_view_damage_below(view); -- 2.16.6