aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_client.cpp')
-rw-r--r--src/wm_client.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wm_client.cpp b/src/wm_client.cpp
index d3f0364..4bccb8c 100644
--- a/src/wm_client.cpp
+++ b/src/wm_client.cpp
@@ -120,11 +120,21 @@ string WMClient::role() const
return this->main_role;
}
+void WMClient::setRole(const string& role)
+{
+ this->main_role = role;
+}
+
unsigned WMClient::layerID() const
{
return this->layer;
}
+void WMClient::setLayerID(unsigned id)
+{
+ this->layer = id;
+}
+
unsigned WMClient::surfaceID() const
{
return this->surface;