use the rect

This commit is contained in:
Dana Jansens 2002-11-15 03:36:28 +00:00
parent bcb7dddf94
commit d55ede56a0

View file

@ -414,7 +414,7 @@ bool OtkWidget::configure(const XConfigureEvent &e)
_ignore_config--; _ignore_config--;
} else { } else {
std::cout << "configure\n"; std::cout << "configure\n";
if (!(e.width == width() && e.height == height())) if (!(e.width == _rect.width() && e.height == _rect.height()))
_dirty = true; _dirty = true;
_rect.setRect(e.x, e.y, e.width, e.height); _rect.setRect(e.x, e.y, e.width, e.height);
update(); update();