-/**
- * Set layerID the client belongs to
- *
- * This function set layerID the client belongs to.
- * But this function may not used because the layer should be fixed at constructor.
- * So this function will be used to change layer by some reasons.
- *
- * @param unsigned[in] layerID
- * @return None
- * @attention WMClient can't have multiple layer
- */
-void WMClient::registerLayer(unsigned layer)
+unsigned WMClient::surfaceID() const
+{
+ return this->surface;
+}
+
+void WMClient::setRole(const string& role)
+{
+ this->role_list.clear();
+ this->role_list.push_back(role);
+}
+
+void WMClient::appendRole(const string& role)