aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer_control.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_layer_control.hpp')
-rw-r--r--src/wm_layer_control.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp
index 18f7359..d8d3273 100644
--- a/src/wm_layer_control.hpp
+++ b/src/wm_layer_control.hpp
@@ -17,6 +17,7 @@
#include <string>
#include <memory>
#include <vector>
+#include <unordered_map>
#include <ilm/ilm_control.h>
#include "wm_error.hpp"
#include "util.hpp"
@@ -46,8 +47,10 @@ class LayerControl
// Don't use this function.
void dispatchILMEvent(ilmObjectType object, t_ilm_uint id, t_ilm_bool created);
private:
- WMError load(const std::string& path);
+ WMError loadLayerSetting(const std::string& path);
+ WMError loadAreaDb(const std::string& path);
std::vector<std::shared_ptr<WMLayer>> wm_layers;
+ std::unordered_map<std::string, struct rect> area2size;
unsigned screenID;
struct ilmScreenProperties screen_prop;
};