]> Dogcows Code - chaz/openbox/commitdiff
XClearArea on expose in widget
authorDana Jansens <danakj@orodu.net>
Mon, 20 Jan 2003 06:15:01 +0000 (06:15 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 20 Jan 2003 06:15:01 +0000 (06:15 +0000)
otk/widget.cc

index 139cb259f3133c72c0541500a25901d0f4feac23..9f574ee930ba022a57ea333b3bdce1beb9ff58f2 100644 (file)
@@ -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)
This page took 0.026381 seconds and 4 git commands to generate.