diff options
author | fluxgen <fluxgen> | 2002-12-13 20:29:31 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-12-13 20:29:31 (GMT) |
commit | 9db217ac4b03231f37b81cc2fb525b0c3b392e94 (patch) | |
tree | f63fd4fefa01bcc3792f10c28dc8bc2f15bcaa79 | |
parent | 9fb33e51d4943f6d1350ee1d0daee8f9b50301e2 (diff) | |
download | fluxbox_pavel-9db217ac4b03231f37b81cc2fb525b0c3b392e94.zip fluxbox_pavel-9db217ac4b03231f37b81cc2fb525b0c3b392e94.tar.bz2 |
not equal operator
-rw-r--r-- | src/FbTk/FbWindow.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index 732ab83..fb89382 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.2 2002/12/04 00:02:52 fluxgen Exp $ | 22 | // $Id: FbWindow.hh,v 1.3 2002/12/13 20:29:31 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,8 +77,10 @@ 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 | bool operator != (Window win) const { return m_window != win; } | ||
80 | /// compare two windows | 81 | /// compare two windows |
81 | bool operator == (const FbWindow &win) const { return m_window == win.m_window; } | 82 | bool operator == (const FbWindow &win) const { return m_window == win.m_window; } |
83 | bool operator != (const FbWindow &win) const { return m_window != win.m_window; } | ||
82 | private: | 84 | private: |
83 | void updateGeometry(); | 85 | void updateGeometry(); |
84 | void create(Window parent, int x, int y, size_t width, size_t height, long eventmask, | 86 | void create(Window parent, int x, int y, size_t width, size_t height, long eventmask, |