diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-12 01:50:56 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-12 01:50:56 +0000 |
| commit | 5fed16de70c0fbe40c9e62667f80f612d027c717 (patch) | |
| tree | 450913ec5061c9d0fbc3022e597090575248fe93 /util/epist/window.hh | |
| parent | b10d59dabb5dfd5f3beb2fe71c39b4ee0a3dc5fc (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.hh | 7 |
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; } |
