summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otk/widget.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/otk/widget.cc b/otk/widget.cc
index 6601916f..d375a918 100644
--- a/otk/widget.cc
+++ b/otk/widget.cc
@@ -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();
}