summaryrefslogtreecommitdiff
path: root/util/epist/window.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-12 01:50:56 +0000
committerDana Jansens <danakj@orodu.net>2002-07-12 01:50:56 +0000
commit5fed16de70c0fbe40c9e62667f80f612d027c717 (patch)
tree450913ec5061c9d0fbc3022e597090575248fe93 /util/epist/window.hh
parentb10d59dabb5dfd5f3beb2fe71c39b4ee0a3dc5fc (diff)
we now know for every window its state and its desktop
Diffstat (limited to 'util/epist/window.hh')
-rw-r--r--util/epist/window.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/epist/window.hh b/util/epist/window.hh
index 140d63bc..c544091a 100644
--- a/util/epist/window.hh
+++ b/util/epist/window.hh
@@ -31,7 +31,7 @@ extern "C" {
class XWindow;
-typedef std::list<XWindow> WindowList;
+typedef std::list<XWindow *> WindowList;
class XWindow {
private:
@@ -42,6 +42,8 @@ private:
bool _max_vert;
bool _max_horz;
+ bool _unmapped;
+
public:
XWindow(Window window);
virtual ~XWindow();
@@ -53,7 +55,10 @@ public:
inline bool maxVert() const { return _max_vert; }
inline bool maxHorz() const { return _max_horz; }
+ inline void setUnmapped(bool u) { _unmapped = u; }
+
void updateState();
+ void updateDesktop();
bool operator == (const XWindow &w) const { return w._window == _window; }
bool operator == (const Window &w) const { return w == _window; }