diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-15 03:11:35 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-15 03:11:35 +0000 |
| commit | 5a71f5b094b5f7b9f56f0ad4bf28ab978a42af63 (patch) | |
| tree | e5a8e93a4144e01952fb37c7ce1548dc54c3a5ad /otk/button.cc | |
| parent | 0856b11de843db30b5053c8cb7d9c84eae262852 (diff) | |
only do shit if the size changed
Diffstat (limited to 'otk/button.cc')
| -rw-r--r-- | otk/button.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/otk/button.cc b/otk/button.cc index 410f0083..e93762ec 100644 --- a/otk/button.cc +++ b/otk/button.cc @@ -74,7 +74,8 @@ bool OtkButton::expose(const XExposeEvent &e) bool OtkButton::configure(const XConfigureEvent &e) { - _dirty = true; + if (!(e.width == width() && e.height == height())) + _dirty = true; return OtkFocusWidget::configure(e); } |
