diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wm_client.cpp | 5 | ||||
-rw-r--r-- | src/wm_client.hpp | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/wm_client.cpp b/src/wm_client.cpp index d4303fd..9ce39e0 100644 --- a/src/wm_client.cpp +++ b/src/wm_client.cpp @@ -101,6 +101,11 @@ unsigned WMClient::surfaceID() const return this->surface; } +const string& WMClient::getWMLayerName() +{ + return this->wm_layer_name; +} + void WMClient::setRole(const string& role) { this->role_list.push_back(role); diff --git a/src/wm_client.hpp b/src/wm_client.hpp index 0173bb9..231656b 100644 --- a/src/wm_client.hpp +++ b/src/wm_client.hpp @@ -46,6 +46,7 @@ class WMClient std::string appID() const; unsigned layerID() const; + const std::string& getWMLayerName(); unsigned surfaceID() const; std::vector<unsigned> renderOrder() const; const std::vector<std::string> &roles() const; @@ -71,6 +72,7 @@ class WMClient private: std::string id; unsigned layer; + std::string wm_layer_name; std::string area; unsigned surface; // currently, main application has only one surface. std::vector<std::string> role_list; |