diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-08-08 16:15:46 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-08-08 18:32:00 +0900 |
commit | 25e4aae46a08a2a58a8d05702e11451fec235f7d (patch) | |
tree | f318993a1a7ca025d65cc1044ab1b764b9fd31ef /src | |
parent | d91dac86a4037365a4bfbd209e4e7bf2abed08b5 (diff) |
Proposal: New layer settings
Change-Id: I860f8dea4eee340fd8ab3dba3bbaee1661c584bf
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
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; |