X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fwindow.hh;h=edd126b05064aa710d5a5433d6543a42e1a3c5cd;hb=8e601e4a64b37f333fc3a5f844e4d72d6f289415;hp=30ae529d6995d408dd1060c3b4a99e2cbe9b1f38;hpb=a0e50e15b507f1f8752bd7858c9e758265a34fc4;p=chaz%2Fopenbox 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; } };