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