diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-20 08:06:54 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-20 08:06:54 +0000 |
| commit | c517f511000c8ec775f7413527b9e276b7995806 (patch) | |
| tree | d2f5b8661b87b134a0d1f5c74c09527cd6274312 /util/epist/window.hh | |
| parent | b4411cb1ef1c25a287181b570e974545e1010530 (diff) | |
some cleanups and such.
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; } }; |
