X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.cc;h=e93762ec678f88736fc453e250f140f35f320d36;hb=5a71f5b094b5f7b9f56f0ad4bf28ab978a42af63;hp=410f00838bcf37eb7179ad0e8b978a4e15855eaa;hpb=0856b11de843db30b5053c8cb7d9c84eae262852;p=chaz%2Fopenbox 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); }