summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-02-05 21:59:01 +0200
committerMarius Vlad <marius.vlad@collabora.com>2020-02-06 13:40:11 +0200
commitab2e660c891df7188f2803a88d172627d66294fe (patch)
treeae36473f4d4a794785138f07373615af4439f028 /src/ivi-compositor.h
parentf8457f6d62370f08a4764f44c670bd2368e80415 (diff)
desktop: Reset the active surface
In case a previously active surface gets destroyed, we'll have a hard time detecting if it already been active when switching to it, as it will point a surface no longer present. Resets the ivi active surface in case the desktop surface itself is destroyed. Bug-AGL: SPEC-3159 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I11406888ece29da4b97ec4c28c746ac397742753
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 47e20a3..3d7bd25 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -127,6 +127,7 @@ enum ivi_surface_role {
struct ivi_desktop_surface {
struct ivi_output *pending_output;
+ struct ivi_output *last_output;
};
struct ivi_background_surface {