aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/FbWindow.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index fbd6d85..732ab83 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.hh,v 1.1 2002/12/03 16:25:25 fluxgen Exp $ 22// $Id: FbWindow.hh,v 1.2 2002/12/04 00:02:52 fluxgen Exp $
23 23
24#ifndef FBTK_FBWINDOW_HH 24#ifndef FBTK_FBWINDOW_HH
25#define FBTK_FBWINDOW_HH 25#define FBTK_FBWINDOW_HH
@@ -77,6 +77,8 @@ public:
77 size_t height() const { return m_height; } 77 size_t height() const { return m_height; }
78 /// compare X window 78 /// compare X window
79 bool operator == (Window win) const { return m_window == win; } 79 bool operator == (Window win) const { return m_window == win; }
80 /// compare two windows
81 bool operator == (const FbWindow &win) const { return m_window == win.m_window; }
80private: 82private:
81 void updateGeometry(); 83 void updateGeometry();
82 void create(Window parent, int x, int y, size_t width, size_t height, long eventmask, 84 void create(Window parent, int x, int y, size_t width, size_t height, long eventmask,