]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.cc
not needed, the .in is commited
[chaz/openbox] / otk / widget.cc
index 9708977d47732ffa03f674eb06c25fa78cf63c1e..c09ac4862566e8c8f93d0f4634ff6e7e33a15065 100644 (file)
@@ -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;
 }
 
This page took 0.019682 seconds and 4 git commands to generate.