Fix area and role
[apps/agl-service-windowmanager.git] / src / wm_layer_control.hpp
index 102896d..7c19e97 100644 (file)
@@ -102,8 +102,7 @@ class LayerControl
     void dispatchLayerPropChangeEvent(unsigned id, struct ilmLayerProperties*, t_ilm_notification_mask);
 
     std::string hasRemoteLayer(unsigned layer);
-    std::string areaToRemoteLayer(std::string area);
-
+    std::string areaToRemoteLayer(const std::string& area);
   private:
     WMError makeVisible(const std::shared_ptr<WMClient> client);
     WMError makeInvisible(const std::shared_ptr<WMClient> client);