X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fwidget.cc;h=e53e3585e395b792173362b5c696a31345412a24;hb=0dcbf985c11c850b30b2983e1e20cd8cf033f054;hp=c49f199af29eab89ebcfcecfc8dc81860362c1af;hpb=6bcfd5d2183f216f339d61672885524a90612ff7;p=chaz%2Fopenbox diff --git a/otk/widget.cc b/otk/widget.cc index c49f199a..e53e3585 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -153,6 +153,8 @@ void Widget::setGeometry(int x, int y, int width, int height) _rect = Rect(x, y, width, height); _dirty = true; + // 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;