_rect = Rect(x, y, width, height);
_dirty = true;
- XMoveResizeWindow(**display, _window, x, y, width, height);
- _ignore_config++;
+ // 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;
}
void Widget::show(bool recursive)