summaryrefslogtreecommitdiffstats
path: root/src/layout.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-12-08 13:18:55 +0200
committerMarius Vlad <marius.vlad@collabora.com>2021-12-16 14:43:00 +0200
commitd456a0c59a316f8fd137c57d6d3bc164e5a50399 (patch)
treec42c80465a9e255e62a67cebe258ffd3b9861a11 /src/layout.c
parentc0bc469e505b91e006cb54bc98a9215614be2b52 (diff)
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
Diffstat (limited to 'src/layout.c')
-rw-r--r--src/layout.c1
1 files changed, 1 insertions, 0 deletions
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);