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 99ae499..3ffa786 100644
--- a/src/wm_client.hpp
+++ b/src/wm_client.hpp
@@ -48,6 +48,8 @@ class WMClient
unsigned layerID() const;
unsigned surfaceID() const;
void registerSurface(unsigned surface);
+ std::string area() const {return this->app_area;};
+ void setArea(const std::string area) {this->app_area = area;}
WMError addSurface(unsigned surface);
bool isSourceSizeSet();
void setSurfaceSizeCorrectly();
@@ -67,7 +69,7 @@ class WMClient
unsigned layer;
bool is_source_set;
std::string main_role;
- std::string area;
+ std::string app_area;
unsigned surface; // currently, main application has only one surface.
//std::vector<std::string> role_list;
std::unordered_map<std::string, unsigned> role2surface;