aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_client.hpp')
-rw-r--r--src/wm_client.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wm_client.hpp b/src/wm_client.hpp
index 0b5abe1..369f084 100644
--- a/src/wm_client.hpp
+++ b/src/wm_client.hpp
@@ -42,6 +42,8 @@ class WMClient
WMClient(const std::string &appid, unsigned layer,
unsigned surface, const std::string &role);
WMClient(const std::string &appid, const std::string &role);
+ WMClient(const std::string &appid, unsigned layer,
+ const std::string& layer_name, unsigned surface, const std::string &role);
~WMClient() = default;
std::string appID() const;
@@ -53,7 +55,7 @@ class WMClient
std::string role(unsigned surface) const;
const std::vector<std::string> &roles() const;
void setRole(const std::string& role);
- void registerLayer(unsigned layer);
+ void appendRole(const std::string& role);
bool addSurface(const std::string& role, unsigned surface);
bool removeSurfaceIfExist(unsigned surface);
bool removeRole(const std::string& role);