summaryrefslogtreecommitdiffstats
path: root/src/layout.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2025-01-17 13:57:24 +0200
committerMarius Vlad <marius.vlad@collabora.com>2025-01-17 15:26:55 +0200
commitd6309780a7a6098c44e5043d22f4dca07a65b36f (patch)
tree6809512c95bd47c017d1984b2f7af8f8d23c5d0a /src/layout.c
parentfe4f20c8baa6291ec5f3990e5f15d8dd4599ff39 (diff)
layout: Surfaces added in hidden layer need to be mapped
To (still) continue to receive frame events, and act upon them. This had the side-effect of broking pending apps still receive frame events. Fixes bddc72686d3, 'layout: Add missing mappedness checks' Bug-AGL: SPEC-5338 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ifd456044fb56edc8cbb6c17e8b323ca3b240d9af
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 9e39fd4..7ef8adf 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -501,6 +501,7 @@ ivi_layout_add_to_hidden_layer(struct ivi_surface *surf,
* configure event.
*/
if (!weston_surface_is_mapped(ev->surface)) {
+ weston_surface_map(ev->surface);
weston_desktop_surface_set_maximized(dsurf, true);
weston_desktop_surface_set_size(dsurf,
ivi_output->area.width,