diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-07-28 13:19:47 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | 743884774843259d92ec2b3745caa7e91805af53 (patch) | |
tree | 10f1e0a2eafa07a03331cbe3331e43fd5badad5e /src/app.hpp | |
parent | 3a0a0018eec4a3a2cbcb34cf2f2033f86e6f9504 (diff) |
app: scene setup according to ids.json
* Setup layers as specified in ids.json.
* Map surfaces to their layers.
* Complain about unknown surfaces (i.e. those w/o a mapping).
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.hpp b/src/app.hpp index 0e38bc0..512f272 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -13,6 +13,7 @@ #include "wayland.hpp" #include "layout.hpp" #include "controller_hooks.hpp" +#include "layers.hpp" namespace wl { struct display; @@ -35,6 +36,7 @@ struct App { std::vector<std::unique_ptr<struct wl::output>> outputs; layouts_type layouts; + surface_id_to_layer_map surface2layer; App(wl::display *d); ~App(); |