layout: Keep track of popup state to handle activation 72/27572/2
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 30 May 2022 17:17:36 +0000 (20:17 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 10 Jun 2022 21:24:54 +0000 (21:24 +0000)
commit89440e0ffdfea2568d49e95465464cfc5c1d92ff
treeecdf52502e4f163fe2c0e9e3edc6ee6615cff9f5
parent89f67c5cf793bc69c7e5d5008829851069daa330
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
src/ivi-compositor.h
src/layout.c