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:
0bc098c
)
update children first
author
Dana Jansens
<danakj@orodu.net>
Tue, 4 Feb 2003 15:04:30 +0000
(15:04 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 4 Feb 2003 15:04:30 +0000
(15:04 +0000)
otk/widget.cc
patch
|
blob
|
history
diff --git
a/otk/widget.cc
b/otk/widget.cc
index 9708977d47732ffa03f674eb06c25fa78cf63c1e..c09ac4862566e8c8f93d0f4634ff6e7e33a15065 100644
(file)
--- a/
otk/widget.cc
+++ b/
otk/widget.cc
@@
-404,16
+404,16
@@
void Widget::adjustVert(void)
void Widget::update()
{
+ WidgetList::iterator it = _children.begin(), end = _children.end();
+ for (; it != end; ++it)
+ (*it)->update();
+
if (_dirty) {
adjust();
render();
XClearWindow(**display, _window);
}
- WidgetList::iterator it = _children.begin(), end = _children.end();
- for (; it != end; ++it)
- (*it)->update();
-
_dirty = false;
}