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();