summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/core/window.h2
-rw-r--r--src/window.cpp6
2 files changed, 8 insertions, 0 deletions
diff --git a/include/core/window.h b/include/core/window.h
index 788f1f3..b0a4346 100644
--- a/include/core/window.h
+++ b/include/core/window.h
@@ -333,6 +333,8 @@ class CompWindow :
Window id ();
Window frame ();
+ char * resName ();
+
const CompRegion & region () const;
const CompRegion & frameRegion () const;
diff --git a/src/window.cpp b/src/window.cpp
index e5bbad4..1d69427 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -4641,6 +4641,12 @@ CompWindow::frame ()
return priv->frame;
}
+char *
+CompWindow::resName ()
+{
+ return priv->resName;
+}
+
int
CompWindow::mapNum () const
{