diff options
| -rw-r--r-- | otk/widget.cc | 5 |
1 files 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; |
