From bcb7dddf94266030a89d87e2cae9e3ec730a8760 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 15 Nov 2002 03:31:15 +0000 Subject: [PATCH] dont set dirty if not resizing --- otk/widget.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } -- 2.45.2