aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-08 13:14:24 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-08 14:02:03 +0900
commitf5001e404097c3e55ed9fad207036c55d11f5c8d (patch)
tree84eb2cf138eecc2c69f0ce412a68868a5557a515 /src/wm_layer.hpp
parent1022ddf831865956795c2bd71c07176ab7eedf66 (diff)
Change local variable name
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_layer.hpp')
-rw-r--r--src/wm_layer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wm_layer.hpp b/src/wm_layer.hpp
index 1cb54ee..b14be46 100644
--- a/src/wm_layer.hpp
+++ b/src/wm_layer.hpp
@@ -65,12 +65,12 @@ class WMLayer
MANAGEMENT_TYPE layerType() { return this->type; }
void appendArea(const std::string& area);
void removeLayerID(unsigned id);
- LayerState& getLayerState() { return before_state; }
+ LayerState& getLayerState() { return tmp_state; }
WMError setLayerState(const LayerState& l);
bool hasLayerID(unsigned id);
bool hasRole(const std::string& role);
private:
- LayerState before_state;
+ LayerState tmp_state;
LayerState state;
std::string name = ""; // Layer name
MANAGEMENT_TYPE type;