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 6eb7a76..102896d 100644
--- a/src/wm_layer_control.hpp
+++ b/src/wm_layer_control.hpp
@@ -19,6 +19,7 @@
#include <vector>
#include <unordered_map>
#include <functional>
+#include <regex>
#include <ilm/ilm_control.h>
#include "wm_error.hpp"
#include "util.hpp"
@@ -100,7 +101,8 @@ class LayerControl
void dispatchSurfacePropChangeEvent(unsigned id, struct ilmSurfaceProperties*, t_ilm_notification_mask);
void dispatchLayerPropChangeEvent(unsigned id, struct ilmLayerProperties*, t_ilm_notification_mask);
- bool hasRemoteLayer(unsigned layer);
+ std::string hasRemoteLayer(unsigned layer);
+ std::string areaToRemoteLayer(std::string area);
private:
WMError makeVisible(const std::shared_ptr<WMClient> client);
@@ -114,6 +116,7 @@ class LayerControl
WMError loadAreasConfigFile(const std::string& path, const std::string& ecu_name);
std::vector<std::shared_ptr<WMLayer>> wm_layers;
+ std::vector<std::string> wm_remoteLayerName;
std::vector<Screen> wm_screens;
std::unordered_map<unsigned, unsigned> lid2wmlid;
std::unordered_map<std::string, struct rect> area2size;