From: Dana Jansens Date: Fri, 15 Nov 2002 03:31:15 +0000 (+0000) Subject: dont set dirty if not resizing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=bcb7dddf94266030a89d87e2cae9e3ec730a8760;p=chaz%2Fopenbox dont set dirty if not resizing --- 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(); }