diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-15 03:31:15 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-15 03:31:15 +0000 |
| commit | bcb7dddf94266030a89d87e2cae9e3ec730a8760 (patch) | |
| tree | b3ba30ac0c39e955d7911790a0da47ef1bb76504 | |
| parent | 8d397c0d8b73c1914522c947fcdce49aae52b28b (diff) | |
dont set dirty if not resizing
| -rw-r--r-- | otk/widget.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/otk/widget.cc b/otk/widget.cc index 6601916f..d375a918 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -414,7 +414,8 @@ bool OtkWidget::configure(const XConfigureEvent &e) _ignore_config--; } else { std::cout << "configure\n"; - _dirty = true; + if (!(e.width == width() && e.height == height())) + _dirty = true; _rect.setRect(e.x, e.y, e.width, e.height); update(); } |
