summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-12-04 00:02:52 (GMT)
committerfluxgen <fluxgen>2002-12-04 00:02:52 (GMT)
commit67e963a40c58e579bbd290ddbbaa8df7c37bac7c (patch)
tree4af8905d7356b7eb6c53684a0c1910ac70310c23 /src
parent044713cd751ce8e476d0dd162f4cc5e2ce4263b9 (diff)
downloadfluxbox_lack-67e963a40c58e579bbd290ddbbaa8df7c37bac7c.zip
fluxbox_lack-67e963a40c58e579bbd290ddbbaa8df7c37bac7c.tar.bz2
comparsion operator
Diffstat (limited to 'src')
-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,