X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayers.hpp;h=924457f5de8057d4b857910385f453f69a2e1040;hb=2089b5b1ba2f04f037be1ef897bf79790bf501e2;hp=af1638a0082bb3e6b3506661a6ebaef7219aed10;hpb=cc06687c8043b93b08202c6c90e588d9b1897c31;p=staging%2Fwindowmanager.git diff --git a/src/layers.hpp b/src/layers.hpp index af1638a..924457f 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -26,6 +26,13 @@ namespace wm { +struct split_layout { + std::string name; + std::string main_match; + std::string sub_match; + int prio; +}; + struct layer { using json = nlohmann::json; @@ -47,6 +54,7 @@ struct layer { // put on this layer. std::string role; // XXX perhaps a zorder is needed here? + std::vector layouts; explicit layer(nlohmann::json const &j);