dont set dirty if not resizing
This commit is contained in:
parent
8d397c0d8b
commit
bcb7dddf94
1 changed files with 2 additions and 1 deletions
|
@ -414,7 +414,8 @@ bool OtkWidget::configure(const XConfigureEvent &e)
|
||||||
_ignore_config--;
|
_ignore_config--;
|
||||||
} else {
|
} else {
|
||||||
std::cout << "configure\n";
|
std::cout << "configure\n";
|
||||||
_dirty = true;
|
if (!(e.width == width() && e.height == height()))
|
||||||
|
_dirty = true;
|
||||||
_rect.setRect(e.x, e.y, e.width, e.height);
|
_rect.setRect(e.x, e.y, e.width, e.height);
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue