]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.cc
state the license. killall the old readme data
[chaz/openbox] / otk / widget.cc
index 4ba2c806f129382f70775beae015acac7b841840..e53e3585e395b792173362b5c696a31345412a24 100644 (file)
@@ -153,8 +153,11 @@ 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++;
+  // 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)
This page took 0.025133 seconds and 4 git commands to generate.