aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-22 21:19:21 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-22 21:19:21 +0900
commitafd469a5ac3a80e08c86d47a824556065454ac80 (patch)
tree9647d0dbccfa4d4df90e02e8de60eab815d0adfa
parent726a95bc8c63ddd1c968028b61068ba2c33b994e (diff)
Append role to setting
Change-Id: I0c51005a03625a9e42b87b96b0b74fb57cb20f0d Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-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)