aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_layer.hpp')
-rw-r--r--src/wm_layer.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/wm_layer.hpp b/src/wm_layer.hpp
index 4002c4b..65182b0 100644
--- a/src/wm_layer.hpp
+++ b/src/wm_layer.hpp
@@ -42,6 +42,9 @@ class LayerState
void removeLayer(unsigned layer);
void setArea(const std::string& app, const std::string& area);
+ // Debug
+ void dump();
+
private:
std::vector<unsigned> render_order;
std::unordered_map<std::string, std::string> area2appid;
@@ -67,16 +70,20 @@ class WMLayer
const std::string& layerName();
MANAGEMENT_TYPE layerType() { return this->type; }
void appendArea(const std::string& area);
- void removeLayerID(unsigned id);
LayerState& getLayerState() { return tmp_state; }
WMError setLayerState(const LayerState& l);
bool hasLayerID(unsigned id);
bool hasRole(const std::string& role);
// Manipulation
- void addLayer(unsigned layer);
+ void addLayerToState(unsigned layer);
+ void removeLayerFromState(unsigned layer);
+ void terminateApp(unsigned layer);
WMError commitChange();
+ // Debug
+ void dump();
+
private:
LayerState tmp_state;
LayerState state;