- XMoveResizeWindow(otk::OBDisplay::display, _window, x, y, width, height);
- _ignore_config++;
+ // make all parents dirty too
+ Widget *p = _parent;
+ while (p) {
+ p->_dirty = true;
+ p = p->_parent;
+ }
+
+ // don't use an XMoveResizeWindow here, because it doesn't seem to move
+ // windows with StaticGravity? This works, that didn't.
+ XResizeWindow(**display, _window, width, height);
+ XMoveWindow(**display, _window, x, y);
+ _ignore_config+=2;