summaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-07-28 13:19:47 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit743884774843259d92ec2b3745caa7e91805af53 (patch)
tree10f1e0a2eafa07a03331cbe3331e43fd5badad5e /src/app.hpp
parent3a0a0018eec4a3a2cbcb34cf2f2033f86e6f9504 (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.hpp2
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();