aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2005-04-29 02:53:06 (GMT)
committerfluxgen <fluxgen>2005-04-29 02:53:06 (GMT)
commitdba0d4ffb33c2cf05831987f7c51d6ac19cd387f (patch)
tree89dbd36480144f3230762c3b4a5f331f8bcb42a8 /src/FbTk/FbWindow.hh
parentc7eb5b03323d3b1d4df30977ed69e59aad0a3392 (diff)
downloadfluxbox-dba0d4ffb33c2cf05831987f7c51d6ac19cd387f.zip
fluxbox-dba0d4ffb33c2cf05831987f7c51d6ac19cd387f.tar.bz2
display accessor
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index b08df5e..980a4aa 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -174,6 +174,8 @@ public:
174 unsigned char alpha() const; 174 unsigned char alpha() const;
175 int screenNumber() const; 175 int screenNumber() const;
176 long eventMask() const; 176 long eventMask() const;
177 Display *display() const { return s_display; }
178
177 /// compare X window 179 /// compare X window
178 inline bool operator == (Window win) const { return m_window == win; } 180 inline bool operator == (Window win) const { return m_window == win; }
179 inline bool operator != (Window win) const { return m_window != win; } 181 inline bool operator != (Window win) const { return m_window != win; }