display accessor

This commit is contained in:
fluxgen 2005-04-29 02:53:06 +00:00
parent c7eb5b0332
commit dba0d4ffb3

View file

@ -174,6 +174,8 @@ public:
unsigned char alpha() const;
int screenNumber() const;
long eventMask() const;
Display *display() const { return s_display; }
/// compare X window
inline bool operator == (Window win) const { return m_window == win; }
inline bool operator != (Window win) const { return m_window != win; }