summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-04-07 21:43:31 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-05-12 18:30:35 +0000
commit410d47884ffedce08a987b948429d9d13bc4f551 (patch)
tree33eb01ef4b30171b16b9d83614b159a2b9801787
parentef3d1990c498e6d9b1a24531b751688cac287d28 (diff)
layout: Save the pending output
As de-activing apps make use of last_pending to retrieve the output, it is vital to keep pending output as well, as we ultimately depend on it. Bug-AGL: SPEC-3269 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I62854c3c886a142c35287d5ef1cf492a1a81ac99
-rw-r--r--src/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout.c b/src/layout.c
index ff30def..55509e4 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -415,6 +415,7 @@ ivi_layout_activate(struct ivi_output *output, const char *app_id)
view = surf->view;
geom = weston_desktop_surface_get_geometry(dsurf);
+ surf->desktop.pending_output = output;
if (weston_desktop_surface_get_maximized(dsurf) &&
geom.width == output->area.width &&
geom.height == output->area.height) {
@@ -442,5 +443,4 @@ ivi_layout_activate(struct ivi_output *output, const char *app_id)
weston_output_damage(output->output);
}
- surf->desktop.pending_output = output;
}