summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-30 20:17:36 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-06-10 21:24:54 +0000
commit89440e0ffdfea2568d49e95465464cfc5c1d92ff (patch)
treeecdf52502e4f163fe2c0e9e3edc6ee6615cff9f5 /src/ivi-compositor.h
parent89f67c5cf793bc69c7e5d5008829851069daa330 (diff)
layout: Keep track of popup state to handle activation
Upon deactivation explicitly mark the surface as unmapped, and keep track of the state using the enum already added for that. Further more, at remap, we need to perform a transform update, so this adds that as well. Together with these changes, we now can activate/hide the pop-up window correctly. Bug-AGL: SPEC-4412 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I4dda48dbda265d19df9c7fb4a25773afa8245cf3
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 5137d19..78d1acd 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -271,6 +271,7 @@ struct ivi_surface {
NORMAL,
RESIZING,
FULLSCREEN,
+ HIDDEN,
} state;
enum ivi_surface_role role;