From 5be1363981349a23637da6a6fc718ae48a7a6667 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 15 Nov 2002 05:07:32 +0000 Subject: [PATCH] better fix for configure --- otk/widget.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.45.2