summaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-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; }