X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayers.hpp;fp=src%2Flayers.hpp;h=63650b44e1a26ab6a7043a61833697862ad6a9fb;hb=08b73681b0ea6206fc6dc96575ac3e8d6006bc70;hp=0603d247a9f5a5be6ed8e1cb982ca396d6453284;hpb=02eef0a7cff4ede60d1434e860cd4bc9e163af56;p=apps%2Fagl-service-windowmanager.git 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 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;