diff options
Diffstat (limited to 'util/epist/window.hh')
| -rw-r--r-- | util/epist/window.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/epist/window.hh b/util/epist/window.hh index 30ae529d..edd126b0 100644 --- a/util/epist/window.hh +++ b/util/epist/window.hh @@ -31,6 +31,7 @@ extern "C" { #include <string> class epist; +class screen; class XWindow; class XAtom; @@ -39,6 +40,7 @@ typedef std::list<XWindow *> WindowList; class XWindow { private: epist *_epist; + screen *_screen; XAtom *_xatom; Window _window; @@ -61,7 +63,7 @@ private: void updateClass(); public: - XWindow(epist *epist, Window window); + XWindow(epist *epist, screen *screen, Window window); virtual ~XWindow(); inline Window window() const { return _window; } @@ -78,6 +80,8 @@ public: void processEvent(const XEvent &e); + void shade(const bool sh) const; + bool operator == (const XWindow &w) const { return w._window == _window; } bool operator == (const Window &w) const { return w == _window; } }; |
