only do shit if the size changed
This commit is contained in:
parent
0856b11de8
commit
5a71f5b094
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ bool OtkButton::expose(const XExposeEvent &e)
|
||||||
|
|
||||||
bool OtkButton::configure(const XConfigureEvent &e)
|
bool OtkButton::configure(const XConfigureEvent &e)
|
||||||
{
|
{
|
||||||
_dirty = true;
|
if (!(e.width == width() && e.height == height()))
|
||||||
|
_dirty = true;
|
||||||
return OtkFocusWidget::configure(e);
|
return OtkFocusWidget::configure(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue