X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FXAtom.h;h=38e790de464cfc943df95e4f22fa3bccb910b53c;hb=bbbe226ccc7086721ba5e652fa89e6e8190adb56;hp=87afe2e44316354ed483d936766ec605207ac78c;hpb=20d7381ffb3b7b918c0f6120cce8c0343a50ce83;p=chaz%2Fopenbox diff --git a/src/XAtom.h b/src/XAtom.h index 87afe2e4..38e790de 100644 --- a/src/XAtom.h +++ b/src/XAtom.h @@ -27,9 +27,10 @@ #include #include #include +#include -class XDisplay; -class XScreen; +class Openbox; +class ScreenInfo; class XAtom { typedef std::vector SupportWindows; @@ -102,7 +103,7 @@ class XAtom { net_wm_ping; Atom getAtom(const char *name) const; - void setSupported(const XScreen *screen); + void setSupported(const ScreenInfo *screen); void setValue(Window win, Atom atom, Atom type, unsigned char *data, int size, int nelements, bool append) const; @@ -114,7 +115,7 @@ class XAtom { XAtom& operator=(const XAtom&); public: - XAtom(const XDisplay *display); + XAtom(Openbox &ob); virtual ~XAtom(); void setCardValue(Window win, Atom atom, long value) const; // 32-bit CARDINAL