From: Dana Jansens Date: Fri, 15 Nov 2002 05:07:32 +0000 (+0000) Subject: better fix for configure X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5be1363981349a23637da6a6fc718ae48a7a6667;p=chaz%2Fopenbox better fix for configure --- diff --git a/otk/widget.cc b/otk/widget.cc index 64277e70..96d958cb 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -414,9 +414,10 @@ bool OtkWidget::configure(const XConfigureEvent &e) _ignore_config--; } else { std::cout << "configure\n"; - if (!(e.width == _rect.width() && e.height == _rect.height())) + if (!(e.width == _rect.width() && e.height == _rect.height())) { _dirty = true; - _rect.setRect(_rect.x(), _rect.y(), e.width, e.height); + _rect.setSize(e.width, e.height); + } update(); } return true;