From: Dana Jansens Date: Fri, 17 Jan 2003 03:53:38 +0000 (+0000) Subject: don't use XMoveResize, it doesn't work for StaticGravity windows? X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=6bcfd5d2183f216f339d61672885524a90612ff7;p=chaz%2Fopenbox don't use XMoveResize, it doesn't work for StaticGravity windows? --- 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)