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.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wm_client.hpp b/src/wm_client.hpp
index 369f084..c78d6f9 100644
--- a/src/wm_client.hpp
+++ b/src/wm_client.hpp
@@ -53,6 +53,7 @@ class WMClient
unsigned surfaceID() const;
std::vector<unsigned> renderOrder() const;
std::string role(unsigned surface) const;
+ std::string role() const;
const std::vector<std::string> &roles() const;
void setRole(const std::string& role);
void appendRole(const std::string& role);
@@ -71,6 +72,7 @@ class WMClient
std::string id;
unsigned layer;
std::string wm_layer_name;
+ std::string main_role;
std::string area;
unsigned surface; // currently, main application has only one surface.
std::vector<std::string> role_list;