summaryrefslogtreecommitdiff
path: root/util/epist/window.hh
diff options
context:
space:
mode:
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; }