add role to layer::to_json()
[staging/windowmanager.git] / src / layers.cpp
index 7beb075..c814c22 100644 (file)
@@ -182,6 +182,7 @@ json layer::to_json() const {
       {"id_min", this->id_min},
       {"id_max", this->id_max},
       {"name", this->name},
+      {"role", this->role},
       {"layer_id", this->layer_id},
       {"area", r},
    };