summaryrefslogtreecommitdiff
path: root/include/compwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compwindow.h')
-rw-r--r--include/compwindow.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/compwindow.h b/include/compwindow.h
index d4d4f32..a2ae65f 100644
--- a/include/compwindow.h
+++ b/include/compwindow.h
@@ -1,6 +1,10 @@
#ifndef _COMPWINDOW_H
#define _COMPWINDOW_H
+#include <compiz-core.h>
+#include <compsize.h>
+#include <comppoint.h>
+
class CompWindow;
class PrivateWindow;
@@ -41,6 +45,22 @@ class WindowInterface : public WrapableInterface<CompWindow> {
class CompWindow : public WrapableHandler<WindowInterface>, public CompObject {
public:
+
+ class Geometry : public CompPoint, public CompSize {
+
+ public:
+ Geometry ();
+ Geometry (int, int, unsigned int, unsigned int, unsigned int);
+
+ unsigned int border ();
+
+ void setBorder (unsigned int);
+
+ private:
+ unsigned int mBorder;
+ };
+
+ public:
CompWindow *next;
CompWindow *prev;