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)
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

index ff1713b..bcc8581 100644 (file)
@@ -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);