From: Dana Jansens Date: Mon, 20 Jan 2003 06:15:01 +0000 (+0000) Subject: XClearArea on expose in widget X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cfd8f9a65848c5e7b0514999581512069a4f98f6;p=chaz%2Fopenbox XClearArea on expose in widget --- diff --git a/otk/widget.cc b/otk/widget.cc index 139cb259..9f574ee9 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -463,8 +463,7 @@ void Widget::setEventDispatcher(EventDispatcher *disp) void Widget::exposeHandler(const XExposeEvent &e) { EventHandler::exposeHandler(e); - _dirty = true; - update(); + XClearArea(**display, _window, e.x, e.y, e.width, e.height, false); } void Widget::configureHandler(const XConfigureEvent &e)