XClearArea on expose in widget
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
otk/widget.cc
→
otk/widget.cc
@@ -463,8 +463,7 @@
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)