projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8d9b42
)
XClearArea on expose in widget
author
Dana Jansens
<danakj@orodu.net>
Mon, 20 Jan 2003 06:15:01 +0000
(06:15 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 20 Jan 2003 06:15:01 +0000
(06:15 +0000)
otk/widget.cc
patch
|
blob
|
history
diff --git
a/otk/widget.cc
b/otk/widget.cc
index 139cb259f3133c72c0541500a25901d0f4feac23..9f574ee930ba022a57ea333b3bdce1beb9ff58f2 100644
(file)
--- 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)