only do shit if the size changed

This commit is contained in:
Dana Jansens 2002-11-15 03:11:35 +00:00
parent 0856b11de8
commit 5a71f5b094

View 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);
}