From: Dana Jansens Date: Fri, 15 Nov 2002 03:11:35 +0000 (+0000) Subject: only do shit if the size changed X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5a71f5b094b5f7b9f56f0ad4bf28ab978a42af63;p=chaz%2Fopenbox only do shit if the size changed --- 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); }