]> Dogcows Code - chaz/openbox/blobdiff - otk/button.cc
only do shit if the size changed
[chaz/openbox] / otk / button.cc
index 410f00838bcf37eb7179ad0e8b978a4e15855eaa..e93762ec678f88736fc453e250f140f35f320d36 100644 (file)
@@ -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);
 }
 
This page took 0.019692 seconds and 4 git commands to generate.