diff --git a/otk/widget.cc b/otk/widget.cc index 4ba2c806..c49f199a 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -153,8 +153,9 @@ void Widget::setGeometry(int x, int y, int width, int height) _rect = Rect(x, y, width, height); _dirty = true; - XMoveResizeWindow(**display, _window, x, y, width, height); - _ignore_config++; + XResizeWindow(**display, _window, width, height); + XMoveWindow(**display, _window, x, y); + _ignore_config+=2; } void Widget::show(bool recursive)