summaryrefslogtreecommitdiffstats
path: root/src/layers.hpp
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2017-10-23 23:39:52 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-11-01 11:03:36 +0000
commit08b73681b0ea6206fc6dc96575ac3e8d6006bc70 (patch)
tree0739ec377065cf3ca32e0b8fb85272dbefa9d4f0 /src/layers.hpp
parent02eef0a7cff4ede60d1434e860cd4bc9e163af56 (diff)
Modify the waiting loop of the ivi configuration listener
When layout is NOT normal, wait for the listener. Change-Id: Iedbb5de7a997c82613a0e1947d91ee2527f28436 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src/layers.hpp')
-rw-r--r--src/layers.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/layers.hpp b/src/layers.hpp
index 0603d24..63650b4 100644
--- a/src/layers.hpp
+++ b/src/layers.hpp
@@ -52,11 +52,14 @@ struct layer {
// Specify a role prefix for surfaces that should be
// put on this layer.
std::string role;
- // XXX perhaps a zorder is needed here?
+ // TODO: perhaps a zorder is needed here?
std::vector<struct split_layout> layouts;
- // XXX need to change the way we store these things...
+
mutable struct LayoutState state;
+ // Flag of normal layout only
+ bool is_normal_layout_only;
+
explicit layer(nlohmann::json const &j);
json to_json() const;