dont set dirty if not resizing

This commit is contained in:
Dana Jansens 2002-11-15 03:31:15 +00:00
parent 8d397c0d8b
commit bcb7dddf94

View file

@ -414,7 +414,8 @@ bool OtkWidget::configure(const XConfigureEvent &e)
_ignore_config--;
} else {
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);
update();
}