summaryrefslogtreecommitdiff
path: root/src/privatewindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/privatewindow.h')
-rw-r--r--src/privatewindow.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/privatewindow.h b/src/privatewindow.h
index 99d0c4e..eb86932 100644
--- a/src/privatewindow.h
+++ b/src/privatewindow.h
@@ -46,7 +46,7 @@ typedef CompWindowExtents CompFullscreenMonitorSet;
class PrivateWindow {
public:
- PrivateWindow (CompWindow *window);
+ PrivateWindow (CoreWindow *window);
~PrivateWindow ();
void recalcNormalHints ();
@@ -302,4 +302,24 @@ class PrivateWindow {
Time lastCloseRequestTime;
};
+/* Minimal tracking of the window which happens
+ * on CreateNotify */
+
+class CoreWindow
+{
+ public:
+
+ CoreWindow (Window id);
+
+ CompWindow * manage (Window id);
+
+ friend class PrivateWindow;
+ friend class PrivateScreen;
+ friend class CompScreen;
+
+ private:
+
+ PrivateWindow *priv;
+};
+
#endif