all repos — fluxbox @ 67e963a40c58e579bbd290ddbbaa8df7c37bac7c

custom fork of the fluxbox windowmanager

comparsion operator
fluxgen fluxgen
commit

67e963a40c58e579bbd290ddbbaa8df7c37bac7c

parent

044713cd751ce8e476d0dd162f4cc5e2ce4263b9

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/FbTk/FbWindow.hhsrc/FbTk/FbWindow.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWindow.hh,v 1.1 2002/12/03 16:25:25 fluxgen Exp $ +// $Id: FbWindow.hh,v 1.2 2002/12/04 00:02:52 fluxgen Exp $ #ifndef FBTK_FBWINDOW_HH #define FBTK_FBWINDOW_HH

@@ -77,6 +77,8 @@ size_t width() const { return m_width; }

size_t height() const { return m_height; } /// compare X window bool operator == (Window win) const { return m_window == win; } + /// compare two windows + bool operator == (const FbWindow &win) const { return m_window == win.m_window; } private: void updateGeometry(); void create(Window parent, int x, int y, size_t width, size_t height, long eventmask,