+ return true;
+ } else {
+ OtkWidgetList::iterator it = _children.begin(), end = _children.end();
+ for (; it != end; ++it)
+ if ((*it)->expose(e))
+ return true;
+ }
+ return false;
+}
+
+bool OtkWidget::configure(const XConfigureEvent &e)
+{
+ if (e.window == _window) {
+ if (_ignore_config) {
+ _ignore_config--;
+ } else {
+ std::cout << "configure\n";
+ if (!(e.width == _rect.width() && e.height == _rect.height())) {
+ _dirty = true;
+ _rect.setSize(e.width, e.height);
+ }
+ update();
+ }
+ return true;