summaryrefslogtreecommitdiffstats
path: root/src/layers.hpp
diff options
context:
space:
mode:
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;