diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-15 05:07:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-15 05:07:32 +0000 |
| commit | 5be1363981349a23637da6a6fc718ae48a7a6667 (patch) | |
| tree | c44c676cdce83c0823cc70afda04e76822ac2682 /otk | |
| parent | e8b74211e7dcf08701809f657afa08df55dec218 (diff) | |
better fix for configure
Diffstat (limited to 'otk')
| -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; |
