summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2010-05-18 14:57:57 -0500
committerTravis Watkins <amaranth@ubuntu.com>2010-05-18 14:57:57 -0500
commit09fd3e576b0614451f33679c6a3dc8c0739351b2 (patch)
tree8fdc7f27731168ee5132dd11959b98e75348b7f9
parent54deec100959dd84fc3ad7df28cfd745883f5644 (diff)
downloadzcomp-09fd3e576b0614451f33679c6a3dc8c0739351b2.tar.gz
zcomp-09fd3e576b0614451f33679c6a3dc8c0739351b2.tar.bz2
add resName getter
-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
{