diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-02-18 13:48:59 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2022-05-26 13:54:46 +0300 |
commit | b7567f17683b60cd5b8c48d0756b261737193a3d (patch) | |
tree | 73757ebcd6464aeadef28c4282e023bb34e8a011 /src/layout.c | |
parent | a84206c441d2cf29d7d8b47322e4edcb428f64e4 (diff) |
layout: Inflict surface damage
Commit 'layout: Remove explicit damage call' re-done the way we've
handled additions to the layer, removing any damage infliction to either
the plane where to view is visible. While marking the view as dirty (and
with it any other children to the that view), we still
to tell the compositor that the view being added, has suffered changes.
Bug-AGL: SPEC-4262
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: If3033df36943fb466302e7907bd38f9a0703d49b
(cherry picked from commit 62e020b90b0627e7f24428d5db7b6790b3a161b0)
Diffstat (limited to 'src/layout.c')
-rw-r--r-- | src/layout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/layout.c b/src/layout.c index 8bbaf57..aa32415 100644 --- a/src/layout.c +++ b/src/layout.c @@ -215,9 +215,8 @@ ivi_layout_activate_complete(struct ivi_output *output, output->active = surf; weston_layer_entry_insert(&ivi->normal.view_list, &view->layer_link); - weston_view_geometry_dirty(view); - weston_view_schedule_repaint(view); + weston_surface_damage(view->surface); /* * the 'remote' role now makes use of this part so make sure we don't |