From: Dana Jansens Date: Fri, 15 Nov 2002 03:36:28 +0000 (+0000) Subject: use the rect X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d55ede56a032ee4edcc2de11fc52a4d552c1305c;p=chaz%2Fopenbox use the rect --- diff --git a/otk/widget.cc b/otk/widget.cc index d375a918..90ebf066 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -414,7 +414,7 @@ bool OtkWidget::configure(const XConfigureEvent &e) _ignore_config--; } else { std::cout << "configure\n"; - if (!(e.width == width() && e.height == height())) + if (!(e.width == _rect.width() && e.height == _rect.height())) _dirty = true; _rect.setRect(e.x, e.y, e.width, e.height); update();