aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/wm_layer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wm_layer.cpp b/src/wm_layer.cpp
index 365e37d..af258e4 100644
--- a/src/wm_layer.cpp
+++ b/src/wm_layer.cpp
@@ -125,6 +125,7 @@ WMLayer::WMLayer(json_object* j) : before_state(), state()
string str_type = type;
t = (type == "tile") ? LayerSetting::TILE : LayerSetting::STACK;
this->setting = std::make_unique<LayerSetting>(name, t, begin, end);
+ this->setting->appendRole(role);
}
unsigned WMLayer::getNewLayerID(const std::string& role)