From c517f511000c8ec775f7413527b9e276b7995806 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 20 Jul 2002 08:06:54 +0000 Subject: some cleanups and such. --- util/epist/window.hh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'util/epist/window.hh') 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 class epist; +class screen; class XWindow; class XAtom; @@ -39,6 +40,7 @@ typedef std::list 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; } }; -- cgit v1.2.3